DataFrame Fillna dengan 0
df['column'] = df['column'].fillna(0)
Open Opossum
df['column'] = df['column'].fillna(0)
sub2['income'].fillna((sub2['income'].mean()), inplace=True)