Report question

Question: Apply function to pandas groupby