Update groupby.rst
Update groupby.rst

Edit following this remark <https://github.com/pydata/pandas/pull/6304/files#r9564092>
Merge pull request #6304 from mazieres/patch-1

Add example section to groupby.rst and one example