numpy: Creating a binary mask for a float array without allocating intermediate arrays

后端 未结 0 841
-上瘾入骨i
-上瘾入骨i 2020-12-08 18:23

I have two numpy arrays of the same shape: data and mask. I want to populate the values of mask based on the values in data

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