hipdf.core.window.rolling.Rolling.count

Contents

hipdf.core.window.rolling.Rolling.count#

1 min read time

Applies to Linux

Rolling.count(skipna: bool = True, min_count: int = 0, **kwargs: Any) → DataFrame | Series#

Calculate the rolling count of non NaN observations.

Parameters#

skipnabool, default True

Exclude NA/null values.

min_countint, default 0

Minimum number of observations required.

Returns#

Series or DataFrame

Return type is the same as the original object.