Modifying entire row of an array based on a condition using Numpy

前端 未结 0 558
灰色年华
灰色年华 2021-01-17 04:35

I have an array:

xNew = np.array([[0.50,0.25],[-0.4,-0.2],[0.60,0.80],[1.20,1.90],[-0.10,0.60],[0.10,1.2]])

and another array:

x = np

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