pandas.Categorical.value_counts¶
- Categorical.value_counts(dropna=True)¶
Returns a Series containing counts of each category.
Every category will have an entry, even those with a count of 0.
Parameters : dropna : boolean, default True
Don’t include counts of NaN, even if NaN is a category.
Returns : counts : Series