Learn | NEPs | User Guide | API reference | Building from source | Development | Release notes | Array objects | Data type objects (dtype) | Iterating over arrays | Masked arrays | Universal functions (ufunc) | Routines and objects by topic | Typing (numpy.typing) | NumPy C-API | Array API standard compatibility | CPU/SIMD optimizations | Thread Safety | Global Configuration Options | NumPy security | Testing guidelines | NumPy and SWIG | NumPy’s module structure | The N-dimensional array (ndarray) | numpy.ndarray | numpy.ndarray.all | numpy.ndarray.any | numpy.ndarray.argmax
numpy.ndarray.max
method
ndarray.max(axis=None, out=None, *, keepdims=<novalue>, initial=<novalue>, where=<novalue>)
Return the maximum along a given axis.
Refer to
for full documentation.
See also
equivalent function