Skip to content

Commit 53f13f1

Browse files
committed
replace one UnknownIndex
1 parent cb1a5c6 commit 53f13f1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas-stubs/core/series.pyi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ from pandas.core.indexes.accessors import (
5959
TimedeltaProperties,
6060
TimestampProperties,
6161
)
62-
from pandas.core.indexes.base import UnknownIndex
6362
from pandas.core.indexes.category import CategoricalIndex
6463
from pandas.core.indexes.datetimes import DatetimeIndex
6564
from pandas.core.indexes.interval import IntervalIndex
@@ -732,7 +731,7 @@ class Series(IndexOpsMixin[S1], NDFrame):
732731
@overload
733732
def groupby(
734733
self,
735-
by: CategoricalIndex | UnknownIndex | Series,
734+
by: CategoricalIndex | Index | Series,
736735
axis: AxisIndex = ...,
737736
level: IndexLabel | None = ...,
738737
as_index: _bool = ...,

0 commit comments

Comments
 (0)