Answers for "replace empty numbers in dataframe"

0

replace empty numbers in dataframe

avg = df['Balance'].mean()
df['Balance'].fillna(value=avg, inplace=True)
Posted by: Guest on May-20-2021

Code answers related to "replace empty numbers in dataframe"

Browse Popular Code Answers by Language