I’m using polars.testing assert_frame_equal
method to compare two sorted dataframes containing same columns and below is my code:
assert_frame_equal(src_df, tgt_df, check_dtype=False, check_row_order=False)
For a dataframe containing 5 million records, it takes long time to report a failure as it compares all the rows between two dataframes. Is there a way that we can make polars to fail immediately and report on first mismatch/failure and stop the execution as we just need to know the first failure. I tried searching through and i’m unable to find any documentation for this requirement.
Can someone please help me on this?