DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
9+5 =
Submit