DOC: add notes to the groupby.rst docs

partial on #6944