def remove_outliers(so):
    """Remove the top and bottom 5 percentile of text by char length"""
    so['text_lengths'] = so.text.str.len()
    so = so[so.text_lengths < so.text_lengths.quantile(0.95)]
    so = so[so.text_lengths > so.text_lengths.quantile(0.05)]
    return so.drop(columns='text_lengths')