DOC: Make usage of rtol
and atol
arguments in pd.testing.assert_frame_equal
clearer
#59344
Closed
1 task done
Pandas version checks
main
hereLocation of the documentation
https://pandas.pydata.org/docs/reference/api/pandas.testing.assert_frame_equal.html
Documentation problem
When
atol
andrtol
are used, the check of equality between two dataframes is of the formabsolute(a - b) <= (atol + rtol * absolute(b))
.It's not clear that
atol
andrtol
are used together like this, resulting in it being unclear what exact is being checked.Suggested fix for documentation
Expand the explanation of
atol
andrtol
in the documentation, possibly explicitly including the equation that is testing equality.The text was updated successfully, but these errors were encountered: