Numpy argmax. How to compute both max and argmax? August 17, 2023 by Tarik Maybe something like this is faster… index = np.argmax(a) maximum = a[index]