how to create pairs in a numpy array based on the frequency of data

后端 未结 0 1161
生来不讨喜
生来不讨喜 2020-12-11 17:20

I have some numbers and want to make some pairs out of them. This my data:

points=np.arange(0,10)

And this array defines how to make the pair

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