You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/02/09 21:34:23 UTC

[GitHub] [beam] TheNeuralBit commented on a change in pull request #16781: [BEAM-12572] Fix failures in python examples tests

TheNeuralBit commented on a change in pull request #16781:
URL: https://github.com/apache/beam/pull/16781#discussion_r803106785



##########
File path: sdks/python/apache_beam/examples/dataframe/flight_delays_it_test.py
##########
@@ -125,7 +125,8 @@ def read_csv(path):
       expected_df = expected_df.sort_values('airline').reset_index(drop=True)
 
       try:
-        pd.testing.assert_frame_equal(result_df, expected_df)
+        pd.testing.assert_frame_equal(
+            result_df, expected_df, check_dtype=False, atol=0.5)

Review comment:
       I'd like to better understand what went wrong with pandas 1.4.0 before making this change.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org