Skip to content

Commit

Permalink
to_datetime origin argument fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonioarf committed Nov 24, 2023
1 parent a869a73 commit e2e84ed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pandas/core/tools/datetimes.py
Original file line number Diff line number Diff line change
Expand Up @@ -843,8 +843,7 @@ def to_datetime(
to the day starting at noon on January 1, 4713 BC.
- If Timestamp convertible (Timestamp, dt.datetime, np.datetimt64 or date
string), origin is set to Timestamp identified by origin.
- If a float or integer, origin is the millisecond difference
relative to 1970-01-01.
- If a float or integer, is the difference (in units determined by the ``unit`` argument) relative to 1970-01-01.
cache : bool, default True
If :const:`True`, use a cache of unique, converted dates to apply the
datetime conversion. May produce significant speed-up when parsing
Expand Down

0 comments on commit e2e84ed

Please sign in to comment.