[QST] Clarify when agg()
will return groups as index
#32579
Labels
Milestone
agg()
will return groups as index
#32579
The groupby documentation notes:
However, in the snippet above, it looks like the
nunique
aggregation behaves differently in this respect from thesum
aggregation.Is it possible to predict when an aggregation will return groups as index columns v/s a "SQL-style output" v/s a combination of the two (as above)?
The text was updated successfully, but these errors were encountered: