Skip to content

Commit 0f14233

Browse files
committed
Fix backport issue
1 parent 045bddb commit 0f14233

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
@@ -1202,7 +1202,7 @@ def maybe_infer_to_datetimelike(
12021202
convert_numeric=False,
12031203
convert_non_numeric=True,
12041204
convert_to_nullable_dtype=convert_to_nullable_dtype,
1205-
dtype_if_all_nat=np.dtype("M8[s]"),
1205+
dtype_if_all_nat=np.dtype("M8[ns]"),
12061206
)
12071207

12081208

0 commit comments

Comments
 (0)