Skip to content

Commit 978f0d2

Browse files
committed
DOC: Updated Documentation for origin parameter
Rectified mistake in documentation.
1 parent 529a051 commit 978f0d2

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

pandas/tseries/tools.py

+3-5
Original file line numberDiff line numberDiff line change
@@ -310,11 +310,9 @@ def to_datetime(arg, errors='raise', dayfirst=False, yearfirst=False,
310310
Using non-epoch origins to parse date
311311
312312
>>> pd.to_datetime([1,2,3], unit='D', origin=pd.Timestamp('1960-01-01'))
313-
0 1960-01-01
314-
1 1960-01-02
315-
...
316-
98 1960-04-08
317-
99 1960-04-09
313+
0 1960-01-02
314+
1 1960-01-03
315+
2 1960-01-04
318316
319317
"""
320318
from pandas.tseries.index import DatetimeIndex

0 commit comments

Comments
 (0)