Skip to content

Commit 71eb457

Browse files
DOC: fix docstring of timedaltas.ceil (#60047)
* fix docstring of timedaltas.cela * Update pandas/_libs/tslibs/timedeltas.pyx Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> --------- Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com>
1 parent 7bd594c commit 71eb457

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pandas/_libs/tslibs/timedeltas.pyx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2178,8 +2178,10 @@ class Timedelta(_Timedelta):
21782178
Parameters
21792179
----------
21802180
freq : str
2181-
Frequency string indicating the ceiling resolution.
2182-
It uses the same units as class constructor :class:`~pandas.Timedelta`.
2181+
Frequency string indicating the ceiling resolution. Must be a fixed
2182+
frequency like 's' (second) not 'ME' (month end). See
2183+
:ref:`frequency aliases <timeseries.offset_aliases>` for
2184+
a list of possible `freq` values.
21832185
21842186
Returns
21852187
-------

0 commit comments

Comments
 (0)