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