Report question

Question: Replacing values with groupby means