File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ from pandas.core.api import (
51
51
from pandas .core .arrays import TimedeltaArray
52
52
from pandas .core .arrays .base import ExtensionArray
53
53
from pandas .core .arrays .categorical import CategoricalAccessor
54
+ from pandas .core .arrays .datetimes import DatetimeArray
54
55
from pandas .core .arrays .interval import IntervalArray
55
56
from pandas .core .base import IndexOpsMixin
56
57
from pandas .core .frame import DataFrame
@@ -763,6 +764,9 @@ class Series(IndexOpsMixin[S1], NDFrame):
763
764
) -> SeriesGroupBy [S1 , Any ]: ...
764
765
def count (self ) -> int : ...
765
766
def mode (self , dropna = ...) -> Series [S1 ]: ...
767
+ @overload
768
+ def unique (self : Series [Timestamp ]) -> DatetimeArray : ...
769
+ @overload
766
770
def unique (self ) -> np .ndarray : ...
767
771
@overload
768
772
def drop_duplicates (
@@ -2821,7 +2825,7 @@ class TimedeltaSeries(Series[Timedelta]):
2821
2825
),
2822
2826
) -> Series [float ]: ...
2823
2827
@overload
2824
- def __rtruediv__ ( # type: ignore[override]
2828
+ def __rtruediv__ (
2825
2829
self ,
2826
2830
other : (
2827
2831
timedelta
You can’t perform that action at this time.
0 commit comments