pandas.core.groupby.DataFrameGroupBy.size

DataFrameGroupBy.size()

Compute group sizes