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

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.24.2/reference/api/pandas.arrays.IntegerArray.value_counts.html