We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d004e3 commit 4a3048cCopy full SHA for 4a3048c
pandas/core/tools/timedeltas.py
@@ -28,8 +28,8 @@ def to_timedelta(arg, unit="ns", errors="raise"):
28
The data to be converted to timedelta.
29
unit : str, default 'ns'
30
Denotes the unit of the arg. Possible values:
31
- ('Y', 'M', 'W', 'D', 'days', 'day', 'hours', hour', 'hr',
32
- 'h', 'm', 'minute', 'min', 'minutes', 'T', 'S', 'seconds',
+ ('W', 'D', 'days', 'day', 'hours', hour', 'hr', 'h',
+ 'm', 'minute', 'min', 'minutes', 'T', 'S', 'seconds',
33
'sec', 'second', 'ms', 'milliseconds', 'millisecond',
34
'milli', 'millis', 'L', 'us', 'microseconds', 'microsecond',
35
'micro', 'micros', 'U', 'ns', 'nanoseconds', 'nano', 'nanos',
0 commit comments