I have following function that will remove the outlier but I want to replace them with mean value
def remove_outlier(df_in, col_name): q1 = df_in[