Skip to content

Commit bf680ce

Browse files
committed
mypy
1 parent 11a9a7e commit bf680ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/dtypes/cast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1205,7 +1205,7 @@ def maybe_infer_to_datetimelike(
12051205

12061206
def maybe_cast_to_datetime(
12071207
value: np.ndarray | list, dtype: np.dtype
1208-
) -> ExtensionArray | np.ndarray:
1208+
) -> DatetimeArray | TimedeltaArray | np.ndarray:
12091209
"""
12101210
try to cast the array/value to a datetimelike dtype, converting float
12111211
nan to iNaT

0 commit comments

Comments
 (0)