DOC: add import for GroupBy object to api.rst