0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

pythonのargsortを理解するまでに時間がかかった話(備忘録)

Posted at

#np.argsortをnp.sortと同じ勢いで使ったら全く違うよね

下の画像がすごく参考になった

argsort.png

てっきりarrayの順番が返ってくると思ってた(上の写真なら[1,2,0])から、かなり混乱したけど勘違いだった。

参考
https://www.headboost.jp/numpy-argsort/

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?