NumPy

numpy.ndarray.argmax

method

ndarray.argmax(axis=None, out=None)

Return indices of the maximum values along the given axis.

Refer to numpy.argmax for full documentation.

See also

numpy.argmax

equivalent function

Previous topic

numpy.ndarray.any

Next topic

numpy.ndarray.argmin