cf.Data.max

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

Collapse axes with their maximum.

Missing data array elements are omitted from the calculation.

Parameters:

axes : (sequence of) int, optional

squeeze : bool, optional

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

min, mean, mid_range, sum, sd, var

Examples: