Open JonahBreslow opened 1 year ago
I'd rather use is_any_real_numeric_dtype
to avoid tolerance comparison on boolean vals
@mroeschke Hi! I would love to work on this enhancement, would it be ok to start working on it even if it has not yet been reviewed? Also if someone could in the meanwhile review it I would appreciate.
Thank you!
I would say any issue that has not been triaged yet should not be worked on until a core team member has reviewed the issue
Feature Type
[X] Adding new functionality to pandas
[X] Changing existing functionality in pandas
[ ] Removing existing functionality in pandas
Problem Description
When comparing pandas dataframes with floating point numbers, it can be extremely useful to compare with an absolute tolerance (
atol
) as we see in pandas.testing.assert_frame_equal.Feature Description
I propose we add an argument to the function signature of pd.DataFrame.compare() as follows:
Alternative Solutions
This is some workaround code that works for my specific use case, but is most definitely not general
Additional Context
No response