DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
replace empty numbers in dataframe
avg = df['Balance'].mean() df['Balance'].fillna(value=avg, inplace=True)
Source by radiant-brushlands-42789.herokuapp.com #
PREVIOUS
NEXT
Tagged:
#replace
#empty
#numbers
#dataframe
ADD COMMENT
Topic
COMMENT
Name
4+4 =
Submit