The image below was very helpful
I thought that the order of the array would be returned exactly ([1,2,0] in the above picture), so it was quite confusing but misunderstood.
reference https://www.headboost.jp/numpy-argsort/
Recommended Posts