Skip to content

Commit

Permalink
DOC: Remove old note about default unit (pandas-dev#46103)
Browse files Browse the repository at this point in the history
  • Loading branch information
gsganden authored Feb 26, 2022
1 parent 3f52f4e commit c8036d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pandas/core/tools/datetimes.py
Original file line number Diff line number Diff line change
Expand Up @@ -765,8 +765,8 @@ def to_datetime(
unit : str, default 'ns'
The unit of the arg (D,s,ms,us,ns) denote the unit, which is an
integer or float number. This will be based off the origin.
Example, with ``unit='ms'`` and ``origin='unix'`` (the default), this
would calculate the number of milliseconds to the unix epoch start.
Example, with ``unit='ms'`` and ``origin='unix'``, this would calculate
the number of milliseconds to the unix epoch start.
infer_datetime_format : bool, default False
If :const:`True` and no `format` is given, attempt to infer the format
of the datetime strings based on the first non-NaN element,
Expand Down

0 comments on commit c8036d3

Please sign in to comment.