-
-
Notifications
You must be signed in to change notification settings - Fork 19.4k
Closed
Labels
Description
xref #15326 (comment)
- when
pd.Grouperwas introduced, we usedkeyto indicate the column which to group on .resampleadded the same idea ason- we use
oninpd.merge(existing for a long time) .groupbyusesby(though to be fair this can take lots of things and is not strictly a string column name).
So the proposal is to deprecate pd.Grouper(key=...) in favor of on=.