pandas equivalent of sql UPDATE table SET col3 = NULL WHERE col1 != col2

前端 未结 0 1800
半阙折子戏
半阙折子戏 2021-02-10 10:36

I\'m trying to find pandas equivalent of ...

UPDATE table SET col3 = NULL WHERE col1 != col2

I tried...

df[df[\'col1\'] != df[\'co         


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