How to obtain Column Names having NAN values using PANDAS and store those column names in a List?

后端 未结 0 502
孤城傲影
孤城傲影 2021-01-30 14:03

I have a data frame as below,

df = pd.DataFrame({\'A\': [1, 2, 3, 4, 5],
              \'B\': [1, Nan, 2, 3, 4],
              \'C\': [2, 3, Nan, Nan,5],
                 


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