Skip to content

Commit 8b580bb

Browse files
committed
improved styling
1 parent ed3a711 commit 8b580bb

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

pandas/core/tools/timedeltas.py

+6-3
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ def to_timedelta(arg, unit='ns', box=True, errors='raise'):
3737
if False returns a np.timedelta64 or ndarray of values of dtype
3838
timedelta64[ns].
3939
errors : {'ignore', 'raise', 'coerce'}, default 'raise'
40-
If 'raise', then invalid parsing will raise an exception.
41-
If 'coerce', then invalid parsing will be set as NaT.
42-
If 'ignore', then invalid parsing will return the input.
40+
- If 'raise', then invalid parsing will raise an exception.
41+
- If 'coerce', then invalid parsing will be set as NaT.
42+
- If 'ignore', then invalid parsing will return the input.
4343
4444
Returns
4545
-------
@@ -80,9 +80,12 @@ def to_timedelta(arg, unit='ns', box=True, errors='raise'):
8080
8181
>>> pd.to_timedelta(np.arange(5), box=False)
8282
array([0, 1, 2, 3, 4], dtype='timedelta64[ns]')
83+
<<<<<<< HEAD
8384
8485
See also
8586
87+
=======
88+
>>>>>>> improved styling
8689
"""
8790
unit = parse_timedelta_unit(unit)
8891

0 commit comments

Comments
 (0)