4.7.7.1.2.3.1.3. statsmodels.tools.grouputils.Grouping.count_categories

Grouping.count_categories(level=0)[source]

Sets the attribute counts to equal the bincount of the (integer-valued) labels.