Skip to content

Commit 0c5129f

Browse files
committed
Final fixes
1 parent 3ef4c60 commit 0c5129f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pandas/core/tools/timedeltas.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,13 @@ def to_timedelta(arg, unit='ns', box=True, errors='raise'):
2121
Convert argument to timedelta.
2222
2323
Timedeltas are absolute differences in times, expressed in difference
24-
units e.g. (days, hours, minutes, seconds). This method converts an argument
25-
from a recognized timedelta format / value into a Timedelta type.
24+
units (e.g. days, hours, minutes, seconds). This method converts
25+
an argument from a recognized timedelta format / value into
26+
a Timedelta type.
2627
2728
Parameters
2829
----------
29-
arg : str, timedelta, list, tuple, 1-d array, or Series
30+
arg : str, timedelta, list-like or Series
3031
The argument which needs to be converted to timedelta.
3132
unit : str, default 'ns'
3233
Denotes the unit (D, h, m, s, ms, us, ns) of the arg.

0 commit comments

Comments
 (0)