cf.Field.var

Field.var()[source]

The unweighted sample variance of the data array.

Returns a scalar cf.Data object.

f.var() is equivalent to f.data.var(ddof=1, squeeze=True).

Examples:
>>> f.var()
<CF Data: 1187.285 hPa2>

Previous topic

cf.Field.unsqueeze

Next topic

cf.Field.weights

This Page