-
-
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 #32352
Conversation
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.
looks good! a few edits
pandas/core/groupby/groupby.py
Outdated
Use `.pipe` when you want to improve readability by chaining together | ||
functions that expect Series, DataFrames, GroupBy or Resampler objects. | ||
Instead of writing | ||
Use `.pipe` when you want to improve readability. |
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 revert the changes to this paragraph?
pandas/core/groupby/groupby.py
Outdated
func : callable or tuple of (callable, string) | ||
Function to apply to this %(klass)s object or, alternatively, | ||
func : callable or tuple of (callable, str) | ||
Function to apply to this %(klass)s object or, alternatiy, |
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.
Function to apply to this %(klass)s object or, alternatiy, | |
Function to apply to this %(klass)s object or |
@hsjsjsj009 do you have time to address the comments? Would be great to get this merged. |
Sorry, I just saw this email, I will do it today.
…On Sun, Mar 8, 2020, 3:41 AM Marc Garcia ***@***.***> wrote:
@hsjsjsj009 <https://github.com/hsjsjsj009> do you have time to address
the comments? Would be great to get this merged.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#32352?email_source=notifications&email_token=ALI76F275UEZU3S2A2VZVV3RGKWQLA5CNFSM4K6NGZHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOEE5QQ#issuecomment-596135618>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALI76FYV7KL5ZXIMV4E5EV3RGKWQLANCNFSM4K6NGZHA>
.
|
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.
Looks good, just a small thing.
|
||
%(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 | ||
functions expect Series, DataFrames, GroupBy or Resampler objects. |
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 that
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
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff