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 cb1a5c6 commit 53f13f1Copy full SHA for 53f13f1
pandas-stubs/core/series.pyi
@@ -59,7 +59,6 @@ from pandas.core.indexes.accessors import (
59
TimedeltaProperties,
60
TimestampProperties,
61
)
62
-from pandas.core.indexes.base import UnknownIndex
63
from pandas.core.indexes.category import CategoricalIndex
64
from pandas.core.indexes.datetimes import DatetimeIndex
65
from pandas.core.indexes.interval import IntervalIndex
@@ -732,7 +731,7 @@ class Series(IndexOpsMixin[S1], NDFrame):
732
731
@overload
733
def groupby(
734
self,
735
- by: CategoricalIndex | UnknownIndex | Series,
+ by: CategoricalIndex | Index | Series,
736
axis: AxisIndex = ...,
737
level: IndexLabel | None = ...,
738
as_index: _bool = ...,
0 commit comments