How to fill a column if another column is not null in a dataframe using Python Pandas

后端 未结 0 1411
忘掉有多难
忘掉有多难 2021-01-13 23:08

Now I have a dataframe as following.

I want to create a column C and filled the cells in Column C with "x" if the cells in Column A is not null.



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