I don't think the `GroupBy` object is available in the pandas namespace. I think you will have to add something like `.. currentmodule:: pandas.core.groupby`