@@ -432,7 +432,7 @@ class Series(IndexOpsMixin[S1], NDFrame):
432
432
@overload
433
433
def div (
434
434
self : Series [Never ],
435
- other : Scalar | _ListLike | Series ,
435
+ other : Path | Scalar | _ListLike | Series ,
436
436
level : Level | None = ...,
437
437
fill_value : float | None = ...,
438
438
axis : AxisIndex = ...,
@@ -509,17 +509,9 @@ class Series(IndexOpsMixin[S1], NDFrame):
509
509
axis : AxisIndex = ...,
510
510
) -> Series [complex ]: ...
511
511
@overload
512
- def div (
513
- self ,
514
- other : Scalar | _ListLike | Series ,
515
- level : Level | None = ...,
516
- fill_value : float | None = ...,
517
- axis : AxisIndex = ...,
518
- ) -> Series : ...
519
- @overload
520
512
def rdiv (
521
513
self : Series [Never ],
522
- other : Scalar | _ListLike | Series ,
514
+ other : Path | Scalar | _ListLike | Series ,
523
515
level : Level | None = ...,
524
516
fill_value : float | None = ...,
525
517
axis : AxisIndex = ...,
@@ -598,7 +590,7 @@ class Series(IndexOpsMixin[S1], NDFrame):
598
590
@overload
599
591
def rdiv (
600
592
self ,
601
- other : Scalar | _ListLike | Series ,
593
+ other : Path ,
602
594
level : Level | None = ...,
603
595
fill_value : float | None = ...,
604
596
axis : AxisIndex = ...,
0 commit comments