Skip to content

Commit 746b254

Browse files
DOC: fix SA01 for pandas.tseries.offsets.LastWeekOfMonth
1 parent 222d7c7 commit 746b254

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

ci/code_checks.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
191191
-i "pandas.tseries.offsets.Hour.is_on_offset GL08" \
192192
-i "pandas.tseries.offsets.Hour.n GL08" \
193193
-i "pandas.tseries.offsets.Hour.normalize GL08" \
194-
-i "pandas.tseries.offsets.LastWeekOfMonth SA01" \
195194
-i "pandas.tseries.offsets.LastWeekOfMonth.is_on_offset GL08" \
196195
-i "pandas.tseries.offsets.LastWeekOfMonth.n GL08" \
197196
-i "pandas.tseries.offsets.LastWeekOfMonth.normalize GL08" \

pandas/_libs/tslibs/offsets.pyx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3710,6 +3710,15 @@ cdef class LastWeekOfMonth(WeekOfMonthMixin):
37103710
- 5 is Saturday
37113711
- 6 is Sunday.
37123712
3713+
See Also
3714+
--------
3715+
tseries.offsets.WeekOfMonth :
3716+
Date offset for a specific weekday in a month.
3717+
tseries.offsets.MonthEnd :
3718+
Date offset for the end of the month.
3719+
tseries.offsets.BMonthEnd :
3720+
Date offset for the last business day of the month.
3721+
37133722
Examples
37143723
--------
37153724
>>> ts = pd.Timestamp(2022, 1, 1)

0 commit comments

Comments
 (0)