Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to fill missing values dataframe with mean

sub2['income'].fillna((sub2['income'].mean()), inplace=True)
Source by datascience.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #fill #missing #values #dataframe
ADD COMMENT
Topic
Name
1+2 =