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

Rolling.var(ddof=1)#

Calculate the rolling variance.

Parameters:
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.