Get first no nan occurences of two arrays taking in account index position

后端 未结 0 701
闹比i
闹比i 2021-01-27 00:00

I have two arrays, arr1 and arr2, same length contain random NaNs and numbers.

arr1 = np.array((1.3, -1.2, -0.2, 1.6, np.nan, np.nan, np.nan))
arr2 = np.array((-0         


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