I have a housing dataframe:
where there are missing values in the Price column. I wish to fill the missing values by the mean price in the respective suburb.
This is my code for filling up the mean price by the same column:
all_housing_df['Price'].fillna(all_housing_df['Price'].mean())
How to fill in the mean price by the respective suburb?