test = np.array([9, 1, 3, 4, 8, 7, 2, 5, 6, 0])
temp = np.argpartition(-test, 4)
result_args = temp[:4]
temp = np.partition(-test, 4)
result = -temp[:4]
A fast way to find the largest N elements in an numpy array