pandas.arrays.IntegerArray.value_counts

IntegerArray.value_counts(dropna=True)[source]

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.

Returns:
counts : Series

See also

Series.value_counts

Scroll To Top