how to make my numpy array unique by axis?

前端 未结 0 2017
执念已碎
执念已碎 2021-01-24 18:55

i have a numpy array like the XY coordinates here below:

2d_coords = [
[1,2]
[1,1]
[2,1]
[3,1]
...
]

either [1,1] or [1,2] need to go (doesn\'t c

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