Answers for "drop columns with null columns pandas"

5

dropping nan in pandas dataframe

df.dropna(subset=['name', 'born'])
Posted by: Guest on April-27-2020
-1

drop columns with nan pandas

>>> df.dropna(axis='columns')
       name
0    Alfred
1    Batman
2  Catwoman
Posted by: Guest on April-02-2020

Code answers related to "drop columns with null columns pandas"

Python Answers by Framework

Browse Popular Code Answers by Language