fill numpy zeros array

后端 未结 0 1202
野的像风
野的像风 2020-12-03 17:46

I have an array arrx = np.zeros([50,1]). I want to fill this array with the absolute values held by \'x\'. \'x\' holds 50 floats x = (i[\'x\']).

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