cf.Data.maximum

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

Collapse axes with their maximum.

Missing data array elements are omitted from the calculation.

See also

min, mean, mid_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