Fix groupby statement
Fix groupby statement