def value_counts(self, dropna=True):
<EOL>from pandas.core.algorithms import value_counts<EOL>return value_counts(np.asarray(self), dropna=dropna)<EOL>
Returns a Series containing counts of each interval.

Parameters
----------
dropna : boolean, default True
    Don't include counts of NaN.

Returns
-------
counts : Series

See Also
--------
Series.value_counts