pandas.Series.count
-
Series.count(level=None)[source] -
Возвращает количество ненулевых/не-NA наблюдений в Series.
Параметры: -
level : int or level name, default None -
Если ось — MultiIndex (иерархическая), подсчет выполняется по определенному уровню, сводя данные в более компактный Series
Возвращает: -
nobs : int or Series (if level specified)
-
© 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.Series.count.html