Answers for "dropna() using column"

-1

dropna pandas

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

drop na pandas

>>> df.dropna(subset=['name', 'born'])
       name        toy       born
1    Batman  Batmobile 1940-04-25
Posted by: Guest on January-04-2020

Python Answers by Framework

Browse Popular Code Answers by Language