diff --git a/pandas/core/dtypes/cast.py b/pandas/core/dtypes/cast.py index 0039d15b084bb..da27f650679d5 100644 --- a/pandas/core/dtypes/cast.py +++ b/pandas/core/dtypes/cast.py @@ -1202,7 +1202,7 @@ def maybe_infer_to_datetimelike( convert_numeric=False, convert_non_numeric=True, convert_to_nullable_dtype=convert_to_nullable_dtype, - dtype_if_all_nat=np.dtype("M8[s]"), + dtype_if_all_nat=np.dtype("M8[ns]"), )