cudf.core.window.rolling.Rolling.var#

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

Calculate the rolling variance.

Parameters:
skipnabool, default True

Exclude NA/null values.

min_countint, default 0

Minimum number of observations required.

ddofint, default 1

Delta Degrees of Freedom. The divisor used in calculations is N - ddof, where N represents the number of elements.

Returns:
Series or DataFrame

Return type is the same as the original object.