>>639
一番大きい要素のインデックス
np.where(a==a.max())

n番目
np.where(a==np.sort(a.ravel())[-n])