pandas.Series.var

Series.var(axis=None, dtype=None, out=None, ddof=1, skipna=True, level=None)

Return variance of values NA/null values are excluded

Parameters :

skipna : boolean, default True

Exclude NA/null values

level : int, default None

If the axis is a MultiIndex (hierarchical), count along a particular level, collapsing into a smaller Series

Returns :

var : float (or Series if level specified)

Normalized by N-1 (unbiased estimator).