-
-
Notifications
You must be signed in to change notification settings - Fork 18.3k
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
DOC: Update pandas.core.groupby.GroupBy.pipe docstring #32531
Conversation
pandas/core/groupby/groupby.py
Outdated
|
||
%(versionadded)s | ||
|
||
Use `.pipe` when you want to improve readability by chaining together | ||
functions that expect Series, DataFrames, GroupBy or Resampler objects. | ||
Instead of writing | ||
Instead of writing. |
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.
Is this full stop necessary here? It doesn't feel like it's the end of the sentence, could it be changed to "Instead of writing:"?
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.
Okay
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 working on this @hsjsjsj009, and sorry for the late review, not sure why I missed this PR before.
Changes look great. Just one change seems incorrect to me, other than that looks perfect.
Also, when you're done, please have a look at the CI, and make sure it's green, so we can merge. Thanks!
|
||
%(versionadded)s | ||
|
||
Instead of writing: |
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.
Can you restore this? I think it made more sense where it was. Looks out of context here.
Conflicts and stale, closing. @hsjsjsj009 let me know if you want to keep working on this, or feel free to open a new PR with the required changes. |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff