Skip to content

Commit b399201

Browse files
committed
Update units
1 parent a5a4873 commit b399201

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/_libs/tslib.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1926,7 +1926,7 @@ class Timedelta(_Timedelta):
19261926
Parameters
19271927
----------
19281928
value : Timedelta, timedelta, np.timedelta64, string, or integer
1929-
unit : string, ``[D,h,m,s,ms,us,ns]``
1929+
unit : string, {'ns', 'us', 'ms', 's', 'm', 'h', 'D'}, optional
19301930
Denote the unit of the input, if input is an integer. Default 'ns'.
19311931
days, seconds, microseconds,
19321932
milliseconds, minutes, hours, weeks : numeric, optional

0 commit comments

Comments
 (0)