Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get columns that contain null values pandas

In [74]: df.columns[df.isna().any()].tolist()
Out[74]: ['a', 'b']
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #columns #null #values #pandas
ADD COMMENT
Topic
Name
9+1 =