cudf.core.window.rolling.Rolling.count#

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

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.