@@ -38,8 +38,10 @@ from pandas.core.api import (
3838 Int32Dtype as Int32Dtype ,
3939 Int64Dtype as Int64Dtype ,
4040)
41+ from pandas .core .arrays import TimedeltaArray
4142from pandas .core .arrays .base import ExtensionArray
4243from pandas .core .arrays .categorical import CategoricalAccessor
44+ from pandas .core .arrays .datetimes import DatetimeArray
4345from pandas .core .arrays .interval import IntervalArray
4446from pandas .core .base import IndexOpsMixin
4547from pandas .core .frame import DataFrame
@@ -2113,6 +2115,7 @@ class TimestampSeries(Series[Timestamp]):
21132115 ) -> TimestampSeries : ...
21142116 def __mul__ (self , other : float | Series [int ] | Series [float ] | Sequence [float ]) -> TimestampSeries : ... # type: ignore[override] # pyright: ignore[reportIncompatibleMethodOverride]
21152117 def __truediv__ (self , other : float | Series [int ] | Series [float ] | Sequence [float ]) -> TimestampSeries : ... # type: ignore[override] # pyright: ignore[reportIncompatibleMethodOverride]
2118+ def unique (self ) -> DatetimeArray : ... # type: ignore[override] # pyright: ignore[reportIncompatibleMethodOverride]
21162119 def mean ( # type: ignore[override] # pyright: ignore[reportIncompatibleMethodOverride]
21172120 self ,
21182121 axis : AxisIndex | None = ...,
@@ -2156,6 +2159,7 @@ class TimedeltaSeries(Series[Timedelta]):
21562159 def __mul__ ( # type: ignore[override] # pyright: ignore[reportIncompatibleMethodOverride]
21572160 self , other : num | Sequence [num ] | Series [int ] | Series [float ]
21582161 ) -> TimedeltaSeries : ...
2162+ def unique (self ) -> TimedeltaArray : ... # type: ignore[override] # pyright: ignore[reportIncompatibleMethodOverride]
21592163 def __sub__ ( # type: ignore[override] # pyright: ignore[reportIncompatibleMethodOverride]
21602164 self ,
21612165 other : (
0 commit comments