Numpy Get Index de N plus grandes valeurs
numbers = np.array([1, 3, 2, 4])
n = 2
indices = (-numbers).argsort()[:n]
Courageous Cow
numbers = np.array([1, 3, 2, 4])
n = 2
indices = (-numbers).argsort()[:n]