Skip to content

Commit 5890a0d

Browse files
authored
DOC: fix documentation (issue pandas-dev#14448)
1 parent c31ea34 commit 5890a0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tseries/tools.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def to_datetime(arg, errors='raise', dayfirst=False, yearfirst=False,
267267
If a date that does not meet timestamp limitations, passing errors='coerce'
268268
will force to NaT. Furthermore this will force non-dates to NaT as well.
269269
270-
>>> pd.to_datetime('13000101', format='%Y%m%d')
270+
>>> pd.to_datetime('13000101', format='%Y%m%d', errors='ignore')
271271
datetime.datetime(1300, 1, 1, 0, 0)
272272
>>> pd.to_datetime('13000101', format='%Y%m%d', errors='coerce')
273273
NaT

0 commit comments

Comments
 (0)