mean is called once on sst.groupby and once on grouped_mean, is this really needed? and can we clarify why it needs a groupby