Faster way to extract one numpy array using another

后端 未结 0 1823
被撕碎了的回忆
被撕碎了的回忆 2020-12-17 09:14

I have two large one-dimensional numpy arrays (~1e8+ elements) of the same size. Array 1 (a1) is an integer indicator value. Array 2 (a2) has measurement values. I want t

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