We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbb7d12 commit 5db6c07Copy full SHA for 5db6c07
pandas/core/groupby/ops.py
@@ -241,7 +241,7 @@ def groups(self):
241
else:
242
to_groupby = lzip(*(ping.grouper for ping in self.groupings))
243
to_groupby = Index(to_groupby)
244
- return BaseGrouperGroups(self.axis.groupby(to_groupby))
+ return self.axis.groupby(to_groupby)
245
246
@cache_readonly
247
def is_monotonic(self):
pandas/core/indexes/base.py
@@ -4494,7 +4494,7 @@ def groupby(self, values):
4494
# map to the label
4495
result = {k: self.take(v) for k, v in compat.iteritems(result)}
4496
4497
- return BaseGroupbyGroups(result)
+ return IndexGroupbyGroups(result)
4498
4499
def map(self, mapper, na_action=None):
4500
"""
0 commit comments