Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

drop row based on NaN value of a column

df = df.dropna(subset=['colA', 'colC'])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #drop #row #based #NaN #column
ADD COMMENT
Topic
Name
9+2 =