Skip to content

Commit f2723c4

Browse files
committed
simplify
1 parent c663687 commit f2723c4

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

pandas-stubs/core/groupby/generic.pyi

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ from typing_extensions import override
3030

3131
from pandas._libs.tslibs.timestamps import Timestamp
3232
from pandas._typing import (
33-
C2,
3433
S2,
3534
S3,
3635
AggFuncTypeBase,
@@ -70,13 +69,13 @@ class SeriesGroupBy(GroupBy[Series[S2]], Generic[S2, ByT]):
7069
@overload
7170
def aggregate(
7271
self,
73-
func: Callable[[Series], C2],
72+
func: Callable[[Series], S3],
7473
/,
7574
*args: Any,
7675
engine: WindowingEngine = None,
7776
engine_kwargs: WindowingEngineKwargs = None,
7877
**kwargs: Any,
79-
) -> Series[C2]: ...
78+
) -> Series[S3]: ...
8079
@overload
8180
def aggregate(
8281
self,

0 commit comments

Comments
 (0)