@@ -167,7 +167,7 @@ class _DatetimeRoundingMethods(Generic[_DTTimestampTimedeltaReturnType]):
167
167
def round (
168
168
self ,
169
169
freq : str | BaseOffset | None ,
170
- ambiguous : Literal ["raise" , "infer" , "NaT" ] | np_ndarray_bool = ...,
170
+ ambiguous : Literal ["raise" , "infer" , "NaT" ] | bool | np_ndarray_bool = ...,
171
171
nonexistent : (
172
172
Literal ["shift_forward" , "shift_backward" , "NaT" , "raise" ]
173
173
| timedelta
@@ -177,7 +177,7 @@ class _DatetimeRoundingMethods(Generic[_DTTimestampTimedeltaReturnType]):
177
177
def floor (
178
178
self ,
179
179
freq : str | BaseOffset | None ,
180
- ambiguous : Literal ["raise" , "infer" , "NaT" ] | np_ndarray_bool = ...,
180
+ ambiguous : Literal ["raise" , "infer" , "NaT" ] | bool | np_ndarray_bool = ...,
181
181
nonexistent : (
182
182
Literal ["shift_forward" , "shift_backward" , "NaT" , "raise" ]
183
183
| timedelta
@@ -187,7 +187,7 @@ class _DatetimeRoundingMethods(Generic[_DTTimestampTimedeltaReturnType]):
187
187
def ceil (
188
188
self ,
189
189
freq : str | BaseOffset | None ,
190
- ambiguous : Literal ["raise" , "infer" , "NaT" ] | np_ndarray_bool = ...,
190
+ ambiguous : Literal ["raise" , "infer" , "NaT" ] | bool | np_ndarray_bool = ...,
191
191
nonexistent : (
192
192
Literal ["shift_forward" , "shift_backward" , "NaT" , "raise" ]
193
193
| timedelta
0 commit comments