Numpy minimum in (row, column) format June 9, 2023 by Tarik Use unravel_index: numpy.unravel_index(A.argmin(), A.shape)