Error in selecting indeces of a list divisimple by a given value

后端 未结 0 1610
不知归路
不知归路 2021-01-02 21:42

a simple code:

suka = pd.Series(range(10))
padla =np.argwhere(suka % 4==0)

get the error "Length of passed values is 1, index implies 10

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