@@ -1039,7 +1039,7 @@ def nsmallest(self, n: int = 5, keep: str = "first") -> Series:
10391039 block_ops .nsmallest (self ._block , n , [self ._value_column ], keep = keep )
10401040 )
10411041
1042- def isin (self , values ) -> "Series" | None :
1042+ def isin (self , values ) -> "Series" :
10431043 if isinstance (values , Series ):
10441044 return Series (self ._block .isin (values ._block ))
10451045 if isinstance (values , indexes .Index ):
@@ -1086,20 +1086,20 @@ def __xor__(self, other: bool | int | Series) -> Series:
10861086
10871087 __rxor__ = __xor__
10881088
1089- def __add__ (self , other : float | int | Series ) -> Series :
1089+ def __add__ (self , other : float | int | pandas . Timedelta | Series ) -> Series :
10901090 return self .add (other )
10911091
10921092 __add__ .__doc__ = inspect .getdoc (vendored_pandas_series .Series .__add__ )
10931093
1094- def __radd__ (self , other : float | int | Series ) -> Series :
1094+ def __radd__ (self , other : float | int | pandas . Timedelta | Series ) -> Series :
10951095 return self .radd (other )
10961096
10971097 __radd__ .__doc__ = inspect .getdoc (vendored_pandas_series .Series .__radd__ )
10981098
1099- def add (self , other : float | int | Series ) -> Series :
1099+ def add (self , other : float | int | pandas . Timedelta | Series ) -> Series :
11001100 return self ._apply_binary_op (other , ops .add_op )
11011101
1102- def radd (self , other : float | int | Series ) -> Series :
1102+ def radd (self , other : float | int | pandas . Timedelta | Series ) -> Series :
11031103 return self ._apply_binary_op (other , ops .add_op , reverse = True )
11041104
11051105 def __sub__ (self , other : float | int | Series ) -> Series :
@@ -1140,20 +1140,20 @@ def rmul(self, other: float | int | Series) -> Series:
11401140 multiply = mul
11411141 multiply .__doc__ = inspect .getdoc (vendored_pandas_series .Series .mul )
11421142
1143- def __truediv__ (self , other : float | int | Series ) -> Series :
1143+ def __truediv__ (self , other : float | int | pandas . Timedelta | Series ) -> Series :
11441144 return self .truediv (other )
11451145
11461146 __truediv__ .__doc__ = inspect .getdoc (vendored_pandas_series .Series .__truediv__ )
11471147
1148- def __rtruediv__ (self , other : float | int | Series ) -> Series :
1148+ def __rtruediv__ (self , other : float | int | pandas . Timedelta | Series ) -> Series :
11491149 return self .rtruediv (other )
11501150
11511151 __rtruediv__ .__doc__ = inspect .getdoc (vendored_pandas_series .Series .__rtruediv__ )
11521152
1153- def truediv (self , other : float | int | Series ) -> Series :
1153+ def truediv (self , other : float | int | pandas . Timedelta | Series ) -> Series :
11541154 return self ._apply_binary_op (other , ops .div_op )
11551155
1156- def rtruediv (self , other : float | int | Series ) -> Series :
1156+ def rtruediv (self , other : float | int | pandas . Timedelta | Series ) -> Series :
11571157 return self ._apply_binary_op (other , ops .div_op , reverse = True )
11581158
11591159 truediv .__doc__ = inspect .getdoc (vendored_pandas_series .Series .truediv )
@@ -1162,20 +1162,20 @@ def rtruediv(self, other: float | int | Series) -> Series:
11621162 rdiv = rtruediv
11631163 rdiv .__doc__ = inspect .getdoc (vendored_pandas_series .Series .rtruediv )
11641164
1165- def __floordiv__ (self , other : float | int | Series ) -> Series :
1165+ def __floordiv__ (self , other : float | int | pandas . Timedelta | Series ) -> Series :
11661166 return self .floordiv (other )
11671167
11681168 __floordiv__ .__doc__ = inspect .getdoc (vendored_pandas_series .Series .__floordiv__ )
11691169
1170- def __rfloordiv__ (self , other : float | int | Series ) -> Series :
1170+ def __rfloordiv__ (self , other : float | int | pandas . Timedelta | Series ) -> Series :
11711171 return self .rfloordiv (other )
11721172
11731173 __rfloordiv__ .__doc__ = inspect .getdoc (vendored_pandas_series .Series .__rfloordiv__ )
11741174
1175- def floordiv (self , other : float | int | Series ) -> Series :
1175+ def floordiv (self , other : float | int | pandas . Timedelta | Series ) -> Series :
11761176 return self ._apply_binary_op (other , ops .floordiv_op )
11771177
1178- def rfloordiv (self , other : float | int | Series ) -> Series :
1178+ def rfloordiv (self , other : float | int | pandas . Timedelta | Series ) -> Series :
11791179 return self ._apply_binary_op (other , ops .floordiv_op , reverse = True )
11801180
11811181 def __pow__ (self , other : float | int | Series ) -> Series :
0 commit comments