Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

convert df.isnull().sum() to dataframe

In [78]: df.isnull().sum().to_frame('nulls')
Out[78]:
   nulls
a      1
b      2
c      0
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #dataframe
ADD COMMENT
Topic
Name
7+1 =