-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: Docstring updated for DataFrame.equals #34508
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
pandeydeepak0
commented
Jun 1, 2020
•
edited
Loading
edited
- closes DOC: improve the .equals() docstring #34498
Hello @freakypandit! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2020-08-07 18:32:08 UTC |
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.
Thanks for the PR!
Can you also update or remove the "Notes" section?
be the same dtype. | ||
the same location are considered equal. The row/column index do not need | ||
to have the same type (as long as the values are still considered equal). | ||
|
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.
you can leave the blank line here
pandas/core/generic.py
Outdated
the same location are considered equal. | ||
|
||
The row/column index do not need to have the same type, as long | ||
as the values are still considered equal. |
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 feel the "still" can be removed. This was used in a different context under "Notes". It makes the sentence slightly confusing when used here. So we will have "as long as the values are considered equal".
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.
@fujiaxiang added your suggestion, thanks!
@freakypandit do you have time to finish this up, else I can pick it up. |
@freakypandit can you fix the lint failure. |
@simonjayhawkins I will try to do this. |
I fixed the trailing whitespace (that was the linting failure) |
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.
lgtm pending green
Thanks @freakypandit ! |