Como preencher valores ausentes Dadosframe com média

sub2['income'].fillna((sub2['income'].mean()), inplace=True)
Inquisitive Ibex