pandas.core.window.Rolling.var
-
Rolling.
var
(ddof=1, *args, **kwargs)[source] rolling variance
Parameters: ddof : int, default 1
Delta Degrees of Freedom. The divisor used in calculations is
N - ddof
, whereN
represents the number of elements.Returns: same type as input