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  阅读(138)  评论(0)    收藏  举报