File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -1690,6 +1690,14 @@ class Series(IndexOpsMixin[S1], NDFrame):
1690
1690
axis : int = 0 ,
1691
1691
) -> Series : ...
1692
1692
@overload
1693
+ def add (
1694
+ self ,
1695
+ other : Series [Never ],
1696
+ level : Level | None = None ,
1697
+ fill_value : float | None = None ,
1698
+ axis : int = 0 ,
1699
+ ) -> Series : ...
1700
+ @overload
1693
1701
def add (
1694
1702
self : Series [bool ],
1695
1703
other : _T_COMPLEX | Sequence [_T_COMPLEX ] | Series [_T_COMPLEX ],
@@ -1876,7 +1884,7 @@ class Series(IndexOpsMixin[S1], NDFrame):
1876
1884
self : Series [_T_COMPLEX ], other : np_ndarray_complex
1877
1885
) -> Series [complex ]: ...
1878
1886
@overload
1879
- def __radd__ (self , other : S1 ) -> Self : ...
1887
+ def __radd__ (self , other : S1 | Series [ S1 ] ) -> Self : ...
1880
1888
@overload
1881
1889
def radd (
1882
1890
self : Series [Never ],
You can’t perform that action at this time.
0 commit comments