Skip to content

Commit d06a48f

Browse files
committed
Change the format of the statement
1 parent 8d2ca0b commit d06a48f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas/_libs/tslibs/timedeltas.pyx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1867,7 +1867,9 @@ class Timedelta(_Timedelta):
18671867
value : Timedelta, timedelta, np.timedelta64, str, or int
18681868
Input value.
18691869
unit : str, default 'ns'
1870-
Denote the unit of the input, if input is an integer.
1870+
If input is an integer, denote the unit of the input.
1871+
If input is a float, denote the unit of integer parts.
1872+
The decimal parts with a resolution lower than 1 nanosecond are ignored.
18711873
18721874
Possible values:
18731875

0 commit comments

Comments
 (0)