-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
[ENH] Allow pad, backfill and cumcount in groupby.transform #34453
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
[ENH] Allow pad, backfill and cumcount in groupby.transform #34453
Conversation
Worth noting that the added aliases However, the same thing was done in Do let me know if you guys think this is inappropriate. I will remove them. |
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 think looks pretty good - quick question
@WillAyd btw should I mention the 2 new aliases in whatsnew? I don't have an issue number to tag it to though. Should I create an issue for 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.
@fujiaxiang this lgtm. I would add the aliases in the reference api section though (for series/frame); seems ffill, bfill are also not there. ping on green.
ping |
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. tiny comment on Series.replace and question about aliases
@@ -214,11 +214,17 @@ Missing data handling | |||
.. autosummary:: | |||
:toctree: api/ | |||
|
|||
Series.isna | |||
Series.notna | |||
Series.backfill |
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.
@jorisvandenbossche is there any way we can indicate aliases here? (should we just not list them)?
Thanks @fujiaxiang another great PR - keep at it! |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff