Finding index of maximum value in array with NumPy,np.where(x == 5)