Skip to content

Commit 1d10ea9

Browse files
author
MarcoGorelli
committed
fixup one doctest
1 parent bb7b871 commit 1d10ea9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/tools/datetimes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ def to_datetime(
906906
in addition to forcing non-dates (or non-parseable dates) to :const:`NaT`.
907907
908908
>>> pd.to_datetime('13000101', format='%Y%m%d', errors='ignore')
909-
datetime.datetime(1300, 1, 1, 0, 0)
909+
'13000101'
910910
>>> pd.to_datetime('13000101', format='%Y%m%d', errors='coerce')
911911
NaT
912912

0 commit comments

Comments
 (0)