-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Clear up confusion from #19411 #19554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## master #19554 +/- ##
=======================================
Coverage 91.93% 91.93%
=======================================
Files 159 159
Lines 49733 49733
=======================================
Hits 45721 45721
Misses 4012 4012
Continue to review full report at Codecov.
|
pandas/util/testing.py
Outdated
@@ -1215,6 +1215,10 @@ def assert_frame_equal(left, right, check_dtype=True, | |||
obj='DataFrame'): | |||
"""Check that left and right DataFrame are equal. | |||
|
|||
Each element at [row, column] in left is compared to the | |||
element at [row, column] in right (index and column values |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this last part of the comment adds to confusion. can you clarify. Maybe add this to a Notes section
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I moved the clarification into the parameter description.
@darcymeyer can you update? |
@TomAugspurger : Sure can 🙂 |
Explicitly state that the `names` attribute of `DataFrame.index` and `DataFrame.columns` are being compared. Closes pandas-devgh-19411.
@jreback @TomAugspurger : All is green and rebased. PTAL. |
thanks @gfyoung |
Explicitly state that the `names` attribute of `DataFrame.index` and `DataFrame.columns` are being compared. Closes pandas-devgh-19411.
Modify docstring for pandas.util.testing.assert_frame_equal
closes #19411