@@ -626,7 +626,6 @@ class Series(IndexOpsMixin[S1], NDFrame):
626
626
def groupby (
627
627
self ,
628
628
by : Scalar ,
629
- axis : AxisIndex = ...,
630
629
level : IndexLabel | None = ...,
631
630
as_index : _bool = ...,
632
631
sort : _bool = ...,
@@ -638,7 +637,6 @@ class Series(IndexOpsMixin[S1], NDFrame):
638
637
def groupby (
639
638
self ,
640
639
by : DatetimeIndex ,
641
- axis : AxisIndex = ...,
642
640
level : IndexLabel | None = ...,
643
641
as_index : _bool = ...,
644
642
sort : _bool = ...,
@@ -650,7 +648,6 @@ class Series(IndexOpsMixin[S1], NDFrame):
650
648
def groupby (
651
649
self ,
652
650
by : TimedeltaIndex ,
653
- axis : AxisIndex = ...,
654
651
level : IndexLabel | None = ...,
655
652
as_index : _bool = ...,
656
653
sort : _bool = ...,
@@ -662,7 +659,6 @@ class Series(IndexOpsMixin[S1], NDFrame):
662
659
def groupby (
663
660
self ,
664
661
by : PeriodIndex ,
665
- axis : AxisIndex = ...,
666
662
level : IndexLabel | None = ...,
667
663
as_index : _bool = ...,
668
664
sort : _bool = ...,
@@ -674,7 +670,6 @@ class Series(IndexOpsMixin[S1], NDFrame):
674
670
def groupby (
675
671
self ,
676
672
by : IntervalIndex [IntervalT ],
677
- axis : AxisIndex = ...,
678
673
level : IndexLabel | None = ...,
679
674
as_index : _bool = ...,
680
675
sort : _bool = ...,
@@ -686,7 +681,6 @@ class Series(IndexOpsMixin[S1], NDFrame):
686
681
def groupby (
687
682
self ,
688
683
by : MultiIndex | GroupByObjectNonScalar ,
689
- axis : AxisIndex = ...,
690
684
level : IndexLabel | None = ...,
691
685
as_index : _bool = ...,
692
686
sort : _bool = ...,
@@ -698,7 +692,6 @@ class Series(IndexOpsMixin[S1], NDFrame):
698
692
def groupby (
699
693
self ,
700
694
by : None ,
701
- axis : AxisIndex ,
702
695
level : IndexLabel , # level is required when by=None (passed as positional)
703
696
as_index : _bool = ...,
704
697
sort : _bool = ...,
@@ -710,7 +703,6 @@ class Series(IndexOpsMixin[S1], NDFrame):
710
703
def groupby (
711
704
self ,
712
705
by : None = ...,
713
- axis : AxisIndex = ...,
714
706
* ,
715
707
level : IndexLabel , # level is required when by=None (passed as keyword)
716
708
as_index : _bool = ...,
@@ -723,7 +715,6 @@ class Series(IndexOpsMixin[S1], NDFrame):
723
715
def groupby (
724
716
self ,
725
717
by : Series [SeriesByT ],
726
- axis : AxisIndex = ...,
727
718
level : IndexLabel | None = ...,
728
719
as_index : _bool = ...,
729
720
sort : _bool = ...,
@@ -735,7 +726,6 @@ class Series(IndexOpsMixin[S1], NDFrame):
735
726
def groupby (
736
727
self ,
737
728
by : CategoricalIndex | Index | Series ,
738
- axis : AxisIndex = ...,
739
729
level : IndexLabel | None = ...,
740
730
as_index : _bool = ...,
741
731
sort : _bool = ...,
0 commit comments