Skip to content

Commit f85f0f6

Browse files
committed
styling/linting
1 parent 8b580bb commit f85f0f6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pandas/core/tools/timedeltas.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def to_timedelta(arg, unit='ns', box=True, errors='raise'):
1919
Convert argument to timedelta.
2020
2121
Timedeltas are absolute differences in times, expressed in difference
22-
units e.g. days, hours, minutes, seconds. This method converts an argument
22+
units e.g. (days, hours, minutes, seconds). This method converts an argument
2323
from a recognized timedelta format / value into a Timedelta type.
2424
2525
Parameters
@@ -43,7 +43,8 @@ def to_timedelta(arg, unit='ns', box=True, errors='raise'):
4343
4444
Returns
4545
-------
46-
ret : timedelta64/arrays of timedelta64 if parsing succeeded
46+
timedelta64 or numpy.array of timedelta64
47+
Output type returned if parsing succeeded.
4748
4849
See also
4950
--------

0 commit comments

Comments
 (0)