cf.Data.var

Data.var(axes=None, squeeze=True, weights=None, mtol=1, ddof=1, a=None, i=False)[source]

Collapse axes with their weighted variance.

The units of the returned array are the square of the units of the array.

Parameters :

axes : (sequence of) int, optional

squeeze : bool, optional

weights :

i : bool, optional

If True then update the data array in place. By default a new data array is created.

Returns :
out : cf.Data

The collapsed array.

See also

max, min, mean, mid_range, sum, sd

Examples

Previous topic

cf.Data.transpose

Next topic

cf.Data.mask_fpe

This Page