numpy.amax(a, axis=None, out=None, keepdims=False) [source]
Return the maximum of an array or maximum along an axis. Parameters:
a : array_like Input data. axis : None or int or tuple of ints, optional Axis or axes along which to operate. By default, flattened input is used. If this is a tuple of ints, the maximum is selected over multiple axes, instead of a single axis or all the axes as before. out : ndarray, optional Alternative output array in which to place the result. Must be of