Sort array based on value and create new array

前端 未结 0 566
感情败类
感情败类 2021-01-30 05:18

Imagine a two dimensional array:

a = np.array([[1,1],[1, 0],[0, 0],[0, 0],[0, 0],[1, 1],[1, 1],[0, 1]])

I want to sort the array based on its first va

相关标签:
回答
  • 消灭零回复
提交回复
热议问题