I want to group data in a DataFrame, filter out outliers in each group (e.g. quantile(0.95)) and then aggregate the results for each group.
DataFrame
I tried to do it