Answers for "deleting columns with certains nan values with threshold"

3

remove nan particular column pandas

df=df.dropna(subset=['columnname])
Posted by: Guest on June-08-2021
0

remove a rows in which three column has nan

df.dropna(subset=['col1', 'col2', 'col3', 'col4', 'col5', 'col6'], how='all', inplace=True)
Posted by: Guest on April-16-2021

Code answers related to "deleting columns with certains nan values with threshold"

Python Answers by Framework

Browse Popular Code Answers by Language