Skip to content

Commit abbb86e

Browse files
authored
docs: add explanation about freq units in Timedelta.round() (#55149)
1 parent 2b8decd commit abbb86e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pandas/_libs/tslibs/timedeltas.pyx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1942,6 +1942,7 @@ class Timedelta(_Timedelta):
19421942
----------
19431943
freq : str
19441944
Frequency string indicating the rounding resolution.
1945+
It uses the same units as class contructor :class:`~pandas.Timedelta`.
19451946
19461947
Returns
19471948
-------
@@ -1969,6 +1970,7 @@ class Timedelta(_Timedelta):
19691970
----------
19701971
freq : str
19711972
Frequency string indicating the flooring resolution.
1973+
It uses the same units as class contructor :class:`~pandas.Timedelta`.
19721974
19731975
Examples
19741976
--------
@@ -1988,6 +1990,7 @@ class Timedelta(_Timedelta):
19881990
----------
19891991
freq : str
19901992
Frequency string indicating the ceiling resolution.
1993+
It uses the same units as class contructor :class:`~pandas.Timedelta`.
19911994
19921995
Examples
19931996
--------

0 commit comments

Comments
 (0)