pandas.core.window.expanding.Expanding.count
- Expanding.count()[source]
-
Calculate the expanding count of non NaN observations.
- Returns
-
- Series or DataFrame
-
Return type is the same as the original object.
See also
pandas.Series.expanding
-
Calling expanding with Series data.
pandas.DataFrame.expanding
-
Calling expanding with DataFrames.
pandas.Series.count
-
Aggregating count for Series.
pandas.DataFrame.count
-
Aggregating count for DataFrame.
© 2008–2021, 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/1.3.4/reference/api/pandas.core.window.expanding.Expanding.count.html