Skip to content

Commit

Permalink
remove usage of pandas
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgazelka committed Dec 11, 2024
1 parent b85510e commit a2b6e59
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/connect/test_drop.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@ def test_drop(spark_session):
assert len(df_dropped.columns) == len(df.columns) - 1, "Should have one less column after drop"

# Verify the DataFrame has no columns after dropping all columns"
assert len(df_dropped.toPandas().columns) == 0, "DataFrame should have no columns after dropping 'id'"
assert df_dropped.count() == df.count(), "Row count should be unchanged after drop"
assert len(df_dropped.columns) == 0, "DataFrame should have no columns after dropping 'id'"

0 comments on commit a2b6e59

Please sign in to comment.