Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to count null values in pandas and return as percentage

percent_missing = df.isnull().sum() * 100 / len(df)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #count #null #values #pandas #return #percentage
ADD COMMENT
Topic
Name
6+8 =