Skip to content

Commit

Permalink
Ignore DataFrame index in e2e assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
Pee Tankulrat authored and Pee Tankulrat committed Jan 4, 2023
1 parent af0532f commit 97fc247
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/assert.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ def standalone_should_match_snapshot():


def spark_should_match_snapshot():
expect = pd.read_csv("./e2e/expected.csv")
actual = dd.read_csv("./e2e/output/spark/*.csv").compute()
expect = pd.read_csv("./e2e/expected.csv").reset_index(drop=True)
actual = dd.read_csv("./e2e/output/spark/*.csv").compute().reset_index(drop=True)
pd.testing.assert_frame_equal(expect, actual)
print("E2E - Spark test passed")

Expand Down

0 comments on commit 97fc247

Please sign in to comment.