Replace all columns in dataframe from index 1 onwards using conditions

后端 未结 0 1101
被撕碎了的回忆
被撕碎了的回忆 2020-12-23 00:02

I want to replace columns in dataframe after the first column based on the first column. Suppose we have:

df = {\'Z\':  [\'1\', \'0\', \'1\', \'1\', \'0\'],
          


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