From e0c8fd42dd63a6ebed684ac124dda204ef5dbc4f Mon Sep 17 00:00:00 2001 From: eightyseven Date: Tue, 15 Oct 2024 20:05:42 +0800 Subject: [PATCH] fix docstring of timedaltas.cela --- pandas/_libs/tslibs/timedeltas.pyx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pandas/_libs/tslibs/timedeltas.pyx b/pandas/_libs/tslibs/timedeltas.pyx index bbefea7c47fc3..e581a0f6ee388 100644 --- a/pandas/_libs/tslibs/timedeltas.pyx +++ b/pandas/_libs/tslibs/timedeltas.pyx @@ -2176,8 +2176,10 @@ class Timedelta(_Timedelta): Parameters ---------- freq : str - Frequency string indicating the ceiling resolution. - It uses the same units as class constructor :class:`~pandas.Timedelta`. + The frequency level to ceil the index to. Must be a fixed + frequency like 's' (second) not 'ME' (month end). See + :ref:`frequency aliases ` for + a list of possible `freq` values. Returns -------