pandas.core.resample.Resampler.var

Resampler.var(ddof=1, *args, **kwargs)[source]

Compute variance of groups, excluding missing values.

Parameters
ddofint, default 1

Degrees of freedom.

Returns
DataFrame or Series

Variance of values within each group.