Skip to content

Commit e6d8454

Browse files
committed
remove from series too
1 parent c8a8089 commit e6d8454

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

pandas-stubs/core/series.pyi

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,6 @@ class Series(IndexOpsMixin[S1], NDFrame):
626626
def groupby(
627627
self,
628628
by: Scalar,
629-
axis: AxisIndex = ...,
630629
level: IndexLabel | None = ...,
631630
as_index: _bool = ...,
632631
sort: _bool = ...,
@@ -638,7 +637,6 @@ class Series(IndexOpsMixin[S1], NDFrame):
638637
def groupby(
639638
self,
640639
by: DatetimeIndex,
641-
axis: AxisIndex = ...,
642640
level: IndexLabel | None = ...,
643641
as_index: _bool = ...,
644642
sort: _bool = ...,
@@ -650,7 +648,6 @@ class Series(IndexOpsMixin[S1], NDFrame):
650648
def groupby(
651649
self,
652650
by: TimedeltaIndex,
653-
axis: AxisIndex = ...,
654651
level: IndexLabel | None = ...,
655652
as_index: _bool = ...,
656653
sort: _bool = ...,
@@ -662,7 +659,6 @@ class Series(IndexOpsMixin[S1], NDFrame):
662659
def groupby(
663660
self,
664661
by: PeriodIndex,
665-
axis: AxisIndex = ...,
666662
level: IndexLabel | None = ...,
667663
as_index: _bool = ...,
668664
sort: _bool = ...,
@@ -674,7 +670,6 @@ class Series(IndexOpsMixin[S1], NDFrame):
674670
def groupby(
675671
self,
676672
by: IntervalIndex[IntervalT],
677-
axis: AxisIndex = ...,
678673
level: IndexLabel | None = ...,
679674
as_index: _bool = ...,
680675
sort: _bool = ...,
@@ -686,7 +681,6 @@ class Series(IndexOpsMixin[S1], NDFrame):
686681
def groupby(
687682
self,
688683
by: MultiIndex | GroupByObjectNonScalar,
689-
axis: AxisIndex = ...,
690684
level: IndexLabel | None = ...,
691685
as_index: _bool = ...,
692686
sort: _bool = ...,
@@ -698,7 +692,6 @@ class Series(IndexOpsMixin[S1], NDFrame):
698692
def groupby(
699693
self,
700694
by: None,
701-
axis: AxisIndex,
702695
level: IndexLabel, # level is required when by=None (passed as positional)
703696
as_index: _bool = ...,
704697
sort: _bool = ...,
@@ -710,7 +703,6 @@ class Series(IndexOpsMixin[S1], NDFrame):
710703
def groupby(
711704
self,
712705
by: None = ...,
713-
axis: AxisIndex = ...,
714706
*,
715707
level: IndexLabel, # level is required when by=None (passed as keyword)
716708
as_index: _bool = ...,
@@ -723,7 +715,6 @@ class Series(IndexOpsMixin[S1], NDFrame):
723715
def groupby(
724716
self,
725717
by: Series[SeriesByT],
726-
axis: AxisIndex = ...,
727718
level: IndexLabel | None = ...,
728719
as_index: _bool = ...,
729720
sort: _bool = ...,
@@ -735,7 +726,6 @@ class Series(IndexOpsMixin[S1], NDFrame):
735726
def groupby(
736727
self,
737728
by: CategoricalIndex | Index | Series,
738-
axis: AxisIndex = ...,
739729
level: IndexLabel | None = ...,
740730
as_index: _bool = ...,
741731
sort: _bool = ...,

0 commit comments

Comments
 (0)