We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 533b15d commit ce06dc2Copy full SHA for ce06dc2
pandas-stubs/core/indexes/accessors.pyi
@@ -164,7 +164,8 @@ class _DatetimeLikeOps(
164
# in to the dt accessor
165
166
_DTTimestampTimedeltaReturnType = TypeVar(
167
- "_DTTimestampTimedeltaReturnType", bound=Series | DatetimeIndex | TimedeltaIndex
+ "_DTTimestampTimedeltaReturnType",
168
+ bound=Series | Series[Timestamp] | TimedeltaSeries | DatetimeIndex | TimedeltaIndex,
169
)
170
171
class _DatetimeRoundingMethods(Generic[_DTTimestampTimedeltaReturnType]):
0 commit comments