Skip to content

Commit e331554

Browse files
committed
Add missing SeriesGroupBy.sum
1 parent 3266678 commit e331554

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas-stubs/core/groupby/generic.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ class SeriesGroupBy(GroupBy):
100100
def nlargest(self, n: int = ..., keep: str = ...) -> Series[S1]: ...
101101
def nsmallest(self, n: int = ..., keep: str = ...) -> Series[S1]: ...
102102
def nth(self, n: int | Sequence[int], dropna: str | None = ...) -> Series[S1]: ...
103+
def sum(self) -> Series[S1]: ...
103104

104105
class _DataFrameGroupByScalar(DataFrameGroupBy):
105106
def __iter__(self) -> Iterator[tuple[Scalar, DataFrame]]: ...

0 commit comments

Comments
 (0)