@@ -1278,7 +1278,7 @@ class Series(IndexOpsMixin, NDFrame, Generic[S1]):
12781278 self , other : num | _str | Timedelta | _ListLike | Series [S1 ] | np .timedelta64
12791279 ) -> Series : ...
12801280 # ignore needed for mypy as we want different results based on the arguments
1281- @overload
1281+ @overload # type: ignore[override]
12821282 def __and__ ( # type: ignore[misc]
12831283 self , other : bool | list [bool ] | np_ndarray_bool | Series [bool ]
12841284 ) -> Series [bool ]: ...
@@ -1289,29 +1289,17 @@ class Series(IndexOpsMixin, NDFrame, Generic[S1]):
12891289 # def __array__(self, dtype: Optional[_bool] = ...) -> _np_ndarray
12901290 def __div__ (self , other : num | _ListLike | Series [S1 ]) -> Series [S1 ]: ...
12911291 def __eq__ (self , other : object ) -> Series [_bool ]: ... # type: ignore[override]
1292- def __floordiv__ (self , other : num | _ListLike | Series [S1 ]) -> Series [int ]: ...
1293- def __ge__ (
1292+ def __floordiv__ (self , other : num | _ListLike | Series [S1 ]) -> Series [int ]: ... # type: ignore[override]
1293+ def __ge__ ( # type: ignore[override]
12941294 self , other : S1 | _ListLike | Series [S1 ] | datetime | timedelta
12951295 ) -> Series [_bool ]: ...
1296- def __gt__ (
1296+ def __gt__ ( # type: ignore[override]
12971297 self , other : S1 | _ListLike | Series [S1 ] | datetime | timedelta
12981298 ) -> Series [_bool ]: ...
1299- # def __iadd__(self, other: S1) -> Series[S1]: ...
1300- # def __iand__(self, other: S1) -> Series[_bool]: ...
1301- # def __idiv__(self, other: S1) -> Series[S1]: ...
1302- # def __ifloordiv__(self, other: S1) -> Series[S1]: ...
1303- # def __imod__(self, other: S1) -> Series[S1]: ...
1304- # def __imul__(self, other: S1) -> Series[S1]: ...
1305- # def __ior__(self, other: S1) -> Series[_bool]: ...
1306- # def __ipow__(self, other: S1) -> Series[S1]: ...
1307- # def __isub__(self, other: S1) -> Series[S1]: ...
1308- # def __itruediv__(self, other: S1) -> Series[S1]: ...
1309- # def __itruediv__(self, other) -> None: ...
1310- # def __ixor__(self, other: S1) -> Series[_bool]: ...
1311- def __le__ (
1299+ def __le__ ( # type: ignore[override]
13121300 self , other : S1 | _ListLike | Series [S1 ] | datetime | timedelta
13131301 ) -> Series [_bool ]: ...
1314- def __lt__ (
1302+ def __lt__ ( # type: ignore[override]
13151303 self , other : S1 | _ListLike | Series [S1 ] | datetime | timedelta
13161304 ) -> Series [_bool ]: ...
13171305 @overload
@@ -1324,7 +1312,7 @@ class Series(IndexOpsMixin, NDFrame, Generic[S1]):
13241312 def __ne__ (self , other : object ) -> Series [_bool ]: ... # type: ignore[override]
13251313 def __pow__ (self , other : num | _ListLike | Series [S1 ]) -> Series [S1 ]: ...
13261314 # ignore needed for mypy as we want different results based on the arguments
1327- @overload
1315+ @overload # type: ignore[override]
13281316 def __or__ ( # type: ignore[misc]
13291317 self , other : bool | list [bool ] | np_ndarray_bool | Series [bool ]
13301318 ) -> Series [bool ]: ...
@@ -1334,7 +1322,7 @@ class Series(IndexOpsMixin, NDFrame, Generic[S1]):
13341322 ) -> Series [int ]: ...
13351323 def __radd__ (self , other : num | _str | _ListLike | Series [S1 ]) -> Series [S1 ]: ...
13361324 # ignore needed for mypy as we want different results based on the arguments
1337- @overload
1325+ @overload # type: ignore[override]
13381326 def __rand__ ( # type: ignore[misc]
13391327 self , other : bool | list [bool ] | np_ndarray_bool | Series [bool ]
13401328 ) -> Series [bool ]: ...
@@ -1343,14 +1331,14 @@ class Series(IndexOpsMixin, NDFrame, Generic[S1]):
13431331 self , other : int | list [int ] | np_ndarray_anyint | Series [int ]
13441332 ) -> Series [int ]: ...
13451333 def __rdiv__ (self , other : num | _ListLike | Series [S1 ]) -> Series [S1 ]: ...
1346- def __rdivmod__ (self , other : num | _ListLike | Series [S1 ]) -> Series [S1 ]: ...
1334+ def __rdivmod__ (self , other : num | _ListLike | Series [S1 ]) -> Series [S1 ]: ... # type: ignore[override]
13471335 def __rfloordiv__ (self , other : num | _ListLike | Series [S1 ]) -> Series [S1 ]: ...
13481336 def __rmod__ (self , other : num | _ListLike | Series [S1 ]) -> Series [S1 ]: ...
13491337 def __rmul__ (self , other : num | _ListLike | Series ) -> Series : ...
13501338 def __rnatmul__ (self , other : num | _ListLike | Series [S1 ]) -> Series [S1 ]: ...
13511339 def __rpow__ (self , other : num | _ListLike | Series [S1 ]) -> Series [S1 ]: ...
13521340 # ignore needed for mypy as we want different results based on the arguments
1353- @overload
1341+ @overload # type: ignore[override]
13541342 def __ror__ ( # type: ignore[misc]
13551343 self , other : bool | list [bool ] | np_ndarray_bool | Series [bool ]
13561344 ) -> Series [bool ]: ...
@@ -1364,7 +1352,7 @@ class Series(IndexOpsMixin, NDFrame, Generic[S1]):
13641352 @overload
13651353 def __rtruediv__ (self , other : num | _ListLike | Series [S1 ]) -> Series : ...
13661354 # ignore needed for mypy as we want different results based on the arguments
1367- @overload
1355+ @overload # type: ignore[override]
13681356 def __rxor__ ( # type: ignore[misc]
13691357 self , other : bool | list [bool ] | np_ndarray_bool | Series [bool ]
13701358 ) -> Series [bool ]: ...
@@ -1390,7 +1378,7 @@ class Series(IndexOpsMixin, NDFrame, Generic[S1]):
13901378 def __sub__ (self , other : num | _ListLike | Series ) -> Series : ...
13911379 def __truediv__ (self , other : num | _ListLike | Series [S1 ]) -> Series : ...
13921380 # ignore needed for mypy as we want different results based on the arguments
1393- @overload
1381+ @overload # type: ignore[override]
13941382 def __xor__ ( # type: ignore[misc]
13951383 self , other : bool | list [bool ] | np_ndarray_bool | Series [bool ]
13961384 ) -> Series [bool ]: ...
0 commit comments