The expanding count of any non-NaN observations inside the window.
the current implementation of this API uses Spark’s Window without
specifying partition specification. This leads to move all data into
single partition in single machine and could cause serious
performance degradation. Avoid this method against very large dataset.
Returned object type is determined by the caller of the expanding
Calling object with Series data.
Calling object with DataFrames.
Count of the full Series.
Count of the full DataFrame.
>>> s = ps.Series([2, 3, float("nan"), 10])