Skip to content

Commit bd1de14

Browse files
Greg Gandenbergeryehoshuadimarsky
Greg Gandenberger
authored andcommitted
DOC: Remove old note about default unit (pandas-dev#46103)
1 parent b74545c commit bd1de14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/tools/datetimes.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -765,8 +765,8 @@ def to_datetime(
765765
unit : str, default 'ns'
766766
The unit of the arg (D,s,ms,us,ns) denote the unit, which is an
767767
integer or float number. This will be based off the origin.
768-
Example, with ``unit='ms'`` and ``origin='unix'`` (the default), this
769-
would calculate the number of milliseconds to the unix epoch start.
768+
Example, with ``unit='ms'`` and ``origin='unix'``, this would calculate
769+
the number of milliseconds to the unix epoch start.
770770
infer_datetime_format : bool, default False
771771
If :const:`True` and no `format` is given, attempt to infer the format
772772
of the datetime strings based on the first non-NaN element,

0 commit comments

Comments
 (0)