Sorting arrays in NumPy by column

https://stackoverflow.com/questions/2828059/sorting-arrays-in-numpy-by-column

I suppose this works: a[a[:,1].argsort()]

posted @ 2018-11-26 11:45  清风oo  阅读(127)  评论(0编辑  收藏  举报