@@ -1506,23 +1506,21 @@ class Series(IndexOpsMixin[S1], NDFrame):
1506
1506
self , other : bool | list [bool ] | list [int ] | np_ndarray_bool | Series [bool ]
1507
1507
) -> Series [bool ]: ...
1508
1508
@overload
1509
- def __and__ ( # pyright: ignore[reportIncompatibleMethodOverride]
1510
- self , other : int | np_ndarray_anyint | Series [int ]
1511
- ) -> Series [int ]: ...
1509
+ def __and__ (self , other : int | np_ndarray_anyint | Series [int ]) -> Series [int ]: ...
1512
1510
# def __array__(self, dtype: Optional[_bool] = ...) -> _np_ndarray
1513
1511
def __div__ (self , other : num | _ListLike | Series [S1 ]) -> Series [S1 ]: ...
1514
1512
def __eq__ (self , other : object ) -> Series [_bool ]: ... # type: ignore[override] # pyright: ignore[reportIncompatibleMethodOverride]
1515
1513
def __floordiv__ (self , other : num | _ListLike | Series [S1 ]) -> Series [int ]: ...
1516
- def __ge__ ( # type: ignore[override] # pyright: ignore[reportIncompatibleMethodOverride]
1514
+ def __ge__ ( # type: ignore[override]
1517
1515
self , other : S1 | _ListLike | Series [S1 ] | datetime | timedelta | date
1518
1516
) -> Series [_bool ]: ...
1519
- def __gt__ ( # type: ignore[override] # pyright: ignore[reportIncompatibleMethodOverride]
1517
+ def __gt__ ( # type: ignore[override]
1520
1518
self , other : S1 | _ListLike | Series [S1 ] | datetime | timedelta | date
1521
1519
) -> Series [_bool ]: ...
1522
- def __le__ ( # type: ignore[override] # pyright: ignore[reportIncompatibleMethodOverride]
1520
+ def __le__ ( # type: ignore[override]
1523
1521
self , other : S1 | _ListLike | Series [S1 ] | datetime | timedelta | date
1524
1522
) -> Series [_bool ]: ...
1525
- def __lt__ ( # type: ignore[override] # pyright: ignore[reportIncompatibleMethodOverride]
1523
+ def __lt__ ( # type: ignore[override]
1526
1524
self , other : S1 | _ListLike | Series [S1 ] | datetime | timedelta | date
1527
1525
) -> Series [_bool ]: ...
1528
1526
@overload
@@ -1540,9 +1538,7 @@ class Series(IndexOpsMixin[S1], NDFrame):
1540
1538
self , other : bool | list [bool ] | list [int ] | np_ndarray_bool | Series [bool ]
1541
1539
) -> Series [bool ]: ...
1542
1540
@overload
1543
- def __or__ ( # pyright: ignore[reportIncompatibleMethodOverride]
1544
- self , other : int | np_ndarray_anyint | Series [int ]
1545
- ) -> Series [int ]: ...
1541
+ def __or__ (self , other : int | np_ndarray_anyint | Series [int ]) -> Series [int ]: ...
1546
1542
@overload
1547
1543
def __radd__ (self , other : S1 | Series [S1 ]) -> Self : ...
1548
1544
@overload
@@ -1553,7 +1549,7 @@ class Series(IndexOpsMixin[S1], NDFrame):
1553
1549
self , other : bool | list [bool ] | list [int ] | np_ndarray_bool | Series [bool ]
1554
1550
) -> Series [bool ]: ...
1555
1551
@overload
1556
- def __rand__ (self , other : int | np_ndarray_anyint | Series [int ]) -> Series [int ]: ... # type: ignore[misc] # pyright: ignore[reportIncompatibleMethodOverride]
1552
+ def __rand__ (self , other : int | np_ndarray_anyint | Series [int ]) -> Series [int ]: ... # type: ignore[misc]
1557
1553
def __rdiv__ (self , other : num | _ListLike | Series [S1 ]) -> Series [S1 ]: ...
1558
1554
def __rdivmod__ (self , other : num | _ListLike | Series [S1 ]) -> Series [S1 ]: ... # type: ignore[override] # pyright: ignore[reportIncompatibleMethodOverride]
1559
1555
def __rfloordiv__ (self , other : num | _ListLike | Series [S1 ]) -> Series [S1 ]: ...
@@ -1572,7 +1568,7 @@ class Series(IndexOpsMixin[S1], NDFrame):
1572
1568
self , other : bool | list [bool ] | list [int ] | np_ndarray_bool | Series [bool ]
1573
1569
) -> Series [bool ]: ...
1574
1570
@overload
1575
- def __ror__ (self , other : int | np_ndarray_anyint | Series [int ]) -> Series [int ]: ... # type: ignore[misc] # pyright: ignore[reportIncompatibleMethodOverride]
1571
+ def __ror__ (self , other : int | np_ndarray_anyint | Series [int ]) -> Series [int ]: ... # type: ignore[misc]
1576
1572
def __rsub__ (self , other : num | _ListLike | Series [S1 ]) -> Series : ...
1577
1573
def __rtruediv__ (self , other : num | _ListLike | Series [S1 ]) -> Series : ...
1578
1574
# ignore needed for mypy as we want different results based on the arguments
@@ -1581,7 +1577,7 @@ class Series(IndexOpsMixin[S1], NDFrame):
1581
1577
self , other : bool | list [bool ] | list [int ] | np_ndarray_bool | Series [bool ]
1582
1578
) -> Series [bool ]: ...
1583
1579
@overload
1584
- def __rxor__ (self , other : int | np_ndarray_anyint | Series [int ]) -> Series [int ]: ... # type: ignore[misc] # pyright: ignore[reportIncompatibleMethodOverride]
1580
+ def __rxor__ (self , other : int | np_ndarray_anyint | Series [int ]) -> Series [int ]: ... # type: ignore[misc]
1585
1581
@overload
1586
1582
def __sub__ (
1587
1583
self : Series [Timestamp ],
@@ -1605,9 +1601,7 @@ class Series(IndexOpsMixin[S1], NDFrame):
1605
1601
self , other : bool | list [bool ] | list [int ] | np_ndarray_bool | Series [bool ]
1606
1602
) -> Series [bool ]: ...
1607
1603
@overload
1608
- def __xor__ ( # pyright: ignore[reportIncompatibleMethodOverride]
1609
- self , other : int | np_ndarray_anyint | Series [int ]
1610
- ) -> Series [int ]: ...
1604
+ def __xor__ (self , other : int | np_ndarray_anyint | Series [int ]) -> Series [int ]: ...
1611
1605
def __invert__ (self ) -> Series [bool ]: ...
1612
1606
# properties
1613
1607
# @property
0 commit comments