-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
ENH: pivot_table can now accept Grouper #6913
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
Looks usefull at first glance!
|
@@ -176,6 +176,8 @@ API Changes | |||
- ``.quantile`` on a ``datetime[ns]`` series now returns ``Timestamp`` instead | |||
of ``np.datetime64`` objects (:issue:`6810`) | |||
|
|||
- ``pivot_table``'s ``index`` and ``columns`` keywords can now accept ``Grouper`` (:issue:`6913`) |
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 remove the blank line above. And can you move this to 'Improvements' instead of 'API changes'?
@sinhrks ping when you update |
@jreback @jorisvandenbossche Updated the points and rebased. Pls check? |
@jreback docs are OK now for me. But I don't really have a judgement on the implemenation. OK for you? |
ENH: pivot_table can now accept Grouper
thanks @sinhrks |
pivot_table
can acceptGrouper
byindex
andcolumns
kw.