Numpy, Python Programming, Data Analysis, Numerical Analysis, Data Science.
elements along the specified axis (0 for columns, 1 for rows) arr.min() # returns the minimum value in the array arr.max() # returns the maximum value in the array arr.argmin() # returns the index of the minimum value in the array arr.argmax() # returns the index of the maximum value in the array