Numpy matrix.argmax () method, we can find the index value of the smallest element in a given matrix that has one or more dimensions.
Return: Return index number of minimum elements in matrix
Example # 1:
In this example, we see that using the
matrix.argmax () we can find the index of the minimum element in the given matrix.
Example # 2: