Skip to content

Commit 68ec4e2

Browse files
committed
agg alias
1 parent 2acf079 commit 68ec4e2

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

pandas-stubs/core/frame.pyi

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1512,20 +1512,6 @@ class DataFrame(NDFrame, OpsMixin, _GetItemHack):
15121512
) -> Self: ...
15131513
def diff(self, periods: int = 1, axis: Axis = 0) -> Self: ...
15141514
@overload
1515-
def agg( # pyright: ignore[reportOverlappingOverload]
1516-
self,
1517-
func: AggFuncTypeBase | AggFuncTypeDictSeries,
1518-
axis: Axis = 0,
1519-
**kwargs: Any,
1520-
) -> Series: ...
1521-
@overload
1522-
def agg(
1523-
self,
1524-
func: list[AggFuncTypeBase] | AggFuncTypeDictFrame = ...,
1525-
axis: Axis = 0,
1526-
**kwargs: Any,
1527-
) -> Self: ...
1528-
@overload
15291515
def aggregate( # pyright: ignore[reportOverlappingOverload]
15301516
self,
15311517
func: AggFuncTypeBase | AggFuncTypeDictSeries,
@@ -1539,6 +1525,7 @@ class DataFrame(NDFrame, OpsMixin, _GetItemHack):
15391525
axis: Axis = 0,
15401526
**kwargs: Any,
15411527
) -> Self: ...
1528+
agg = aggregate
15421529
def transform(
15431530
self,
15441531
func: AggFuncTypeFrame,

0 commit comments

Comments
 (0)