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



##########
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 put up a fix for this here: https://github.com/apache/beam/pull/16801
   
   It turns out there was a slight change in the behavior of `nlargest` that 
affected this test: https://github.com/pandas-dev/pandas/issues/28984




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to