Identify rows of one numpy array that gave rise to another numpy array

前端 未结 0 980
误落风尘
误落风尘 2020-12-22 04:19

I think I\'m missing something obvious. Consider the following code:

import numpy as np

a = np.array([[ 0,  2,  0,  5,  4,  6,  2,  4],
              [ 3,           


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