Deprecate: level parameter for aggregations in DataFrame and Series · Issue #39983 · pandas-dev/pandas (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@devin-petersohn

Description

@devin-petersohn

For sum, prod, count, etc. there is a parameter level which is internally rewritten into groupby.

I propose that the level parameter for these aggregations be deprecated and instead recommend to users that they use the groupby syntax.

The functions that would be affected are:

I believe this list is comprehensive.