From 600d72a511ae03c99acadbeeadfbbbfa990ab94f Mon Sep 17 00:00:00 2001 From: Caden W Smith Date: Tue, 3 Jun 2025 15:23:59 -0700 Subject: [PATCH] Fix WeekOfMonth offset constructor offsets.pyx --- pandas/_libs/tslibs/offsets.pyx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx index a16964435ef50..2797c8918c65f 100644 --- a/pandas/_libs/tslibs/offsets.pyx +++ b/pandas/_libs/tslibs/offsets.pyx @@ -3835,7 +3835,8 @@ cdef class Week(SingleConstructorOffset): return cls(weekday=weekday) -cdef class WeekOfMonth(WeekOfMonthMixin): +cdef class pandas.tseries.offsets.WeekOfMonth(n=1, week=0, weekday=0, normalize=False, offset=timedelta(0)) + """ Describes monthly dates like "the Tuesday of the 2nd week of each month".