File tree Expand file tree Collapse file tree 1 file changed +9
-16
lines changed
Expand file tree Collapse file tree 1 file changed +9
-16
lines changed Original file line number Diff line number Diff line change @@ -362,6 +362,15 @@ class Series(IndexOpsMixin[S1], NDFrame):
362362 copy : bool = ...,
363363 ) -> Series [Period ]: ...
364364 @overload
365+ def __new__ (
366+ cls ,
367+ data : Sequence [BaseOffset ],
368+ index : AxesData | None = ...,
369+ dtype : PeriodDtype = ...,
370+ name : Hashable = ...,
371+ copy : bool = ...,
372+ ) -> Series [BaseOffset ]: ...
373+ @overload
365374 def __new__ (
366375 cls ,
367376 data : (
@@ -4689,22 +4698,6 @@ class Series(IndexOpsMixin[S1], NDFrame):
46894698 ** kwargs ,
46904699 ) -> np_1darray [np .bytes_ ]: ...
46914700 @overload
4692- def to_numpy (
4693- self : Series [DateOffset ],
4694- dtype : None = None ,
4695- copy : bool = False ,
4696- na_value : Scalar = ...,
4697- ** kwargs ,
4698- ) -> np_1darray [np .object_ ]: ...
4699- @overload
4700- def to_numpy (
4701- self : Series [DateOffset ],
4702- dtype : type [np .bytes_ ],
4703- copy : bool = False ,
4704- na_value : Scalar = ...,
4705- ** kwargs ,
4706- ) -> np_1darray [np .bytes_ ]: ...
4707- @overload
47084701 def to_numpy ( # pyright: ignore[reportIncompatibleMethodOverride]
47094702 self ,
47104703 dtype : DTypeLike | None = None ,
You can’t perform that action at this time.
0 commit comments