pandas.core.groupby.DataFrameGroupBy.count

DataFrameGroupBy.count()[source]

Compute count of group, excluding missing values.

Returns
DataFrame

Count of values within each group.