Finish groupby behavior