pandas.SparseArray.value_counts
-
SparseArray.value_counts(dropna=True)[source] -
Возвращает Series, содержащую подсчеты уникальных значений.
Параметры: -
dropna : boolean, default True -
Не включать подсчеты NaN, даже если NaN присутствует в sp_values.
Возвращает: -
counts : Series
-
© 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.SparseArray.value_counts.html