Skip to content

Commit 0d9f89d

Browse files
author
Kei
committed
change return type to grouping
1 parent 8e669d9 commit 0d9f89d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/groupby/grouper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ def groups(self) -> dict[Hashable, Index]:
669669
return self._index.groupby(cats)
670670

671671
@cache_readonly
672-
def observed_grouping(self) -> Grouper:
672+
def observed_grouping(self) -> Grouping:
673673
if self._observed:
674674
return self
675675

0 commit comments

Comments
 (0)