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 with
np.float64dtype.
See also
pandas.Series.expandingCalling expanding with Series data.
pandas.DataFrame.expandingCalling expanding with DataFrames.
pandas.Series.countAggregating count for Series.
pandas.DataFrame.countAggregating count for DataFrame.