MaskedArray.max()

numpy.ma.MaskedArray.max

MaskedArray.max(axis=None, out=None, fill_value=None) [source]

Return the maximum along a given axis.

Parameters:

axis : {None, int}, optional

Axis along which to operate. By default, axis is None and the flattened input is used.

out : array_like, optional

Alternative output array in which to place the result. Must be of the same shape and buffer length as the expected output.