Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

replace nan

df['salary'] = df['salary'].fillna(df['salary'].mode()[0])
Source by vitalflux.com #
 
PREVIOUS NEXT
Tagged: #replace #nan
ADD COMMENT
Topic
Name
7+4 =