cf.Data.mid_range

Data.mid_range(axes=None, squeeze=False, mtol=1, inplace=False, _preserve_partitions=False, i=False)[source]

Collapse axes with the unweighted average of their maximum and minimum values.

Missing data array elements are omitted from the calculation.

See also

max, min, mean, range, sum, sd, var

Parameters:

axes: (sequence of) int, optional

squeeze: bool, optional

inplace: bool, optional

If True then do the operation in-place and return None.

i: deprecated at version 3.0.0

Use inplace parameter instead.

Returns:
Data

The collapsed array.

Examples:

TODO