You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since groupby.agg() is, "by definition a reducer." (in other words, produces one value per series in a group), it seems odd that it accepts non-aggregating operations such as 'rank':
Related to #22509 (comment) where groupby.transform('rank') applies the wrong code path to 'rank'
because it is treated as an aggregator (array->scalar) instead of a shape-preserving operation.
Since
groupby.agg()
is, "by definition a reducer." (in other words, produces one value per series in a group), it seems odd that it accepts non-aggregating operations such as 'rank':Related to #22509 (comment) where
groupby.transform('rank')
applies the wrong code path to 'rank'because it is treated as an aggregator (array->scalar) instead of a shape-preserving operation.
The text was updated successfully, but these errors were encountered: