Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Replace NaN value by mean of all column

data.loc[data['taille'].isnull(), 'taille'] = data['taille'].mean()
Source by openclassrooms.com #
 
PREVIOUS NEXT
Tagged: #Replace #NaN #column
ADD COMMENT
Topic
Name
3+4 =