cf.Data.var

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

Collapse axes with their weighted variance.

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

See also

max, min, mean, mid_range, range, sum, sd

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.

Examples: