pandas get size of each group

Solutions on MaxInterview for pandas get size of each group by the best coders in the world

showing results for - "pandas get size of each group"
Alaina
05 Sep 2019
1# returns number of rows in each group as a Series
2df_group.size()