Python : How to insert pervious cell value as input in else operation

前端 未结 0 1959
我寻月下人不归
我寻月下人不归 2021-01-30 04:47

Please help on below code i\'m using latest version, Else operation is not working.

for i in df.index.values:
if df.loc[i,\'RSV\'] == 0:
    df.loc[i,\'K\'] = \'5         


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