DEPR: Passing a dictionary to SeriesGroupBy.agg by rhshadrach · Pull Request #52268 · pandas-dev/pandas (original) (raw)
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For most cases, my preference would be to have the User Guide reflect how we would like users to use pandas (so deprecations are to be removed) and the API docs to be an accurate reflection of the current arguments/behavior (so deprecations should not be removed). If there are other opinions here, maybe we should make an issue to discuss.
However, in this case dict
already doesn't work for SeriesGroupBy.agg when as_index=True
(the default), so this one is a bit of a grey area. I'm good with removing here and will update.