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 and yehoshuadimarsky committed Jul 13, 2022
1 parent b74545c commit bd1de14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pandas/core/tools/datetimes.py
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 bd1de14

Please sign in to comment.