Skip to content

Commit 0c4ca3a

Browse files
DOC: fix SA01 for pandas.tseries.offsets.LastWeekOfMonth (#60776)
1 parent be538ef commit 0c4ca3a

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

ci/code_checks.sh

-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
189189
-i "pandas.tseries.offsets.Hour.is_on_offset GL08" \
190190
-i "pandas.tseries.offsets.Hour.n GL08" \
191191
-i "pandas.tseries.offsets.Hour.normalize GL08" \
192-
-i "pandas.tseries.offsets.LastWeekOfMonth SA01" \
193192
-i "pandas.tseries.offsets.LastWeekOfMonth.is_on_offset GL08" \
194193
-i "pandas.tseries.offsets.LastWeekOfMonth.n GL08" \
195194
-i "pandas.tseries.offsets.LastWeekOfMonth.normalize GL08" \

pandas/_libs/tslibs/offsets.pyx

+9
Original file line numberDiff line numberDiff line change
@@ -3723,6 +3723,15 @@ cdef class LastWeekOfMonth(WeekOfMonthMixin):
37233723
- 5 is Saturday
37243724
- 6 is Sunday.
37253725
3726+
See Also
3727+
--------
3728+
tseries.offsets.WeekOfMonth :
3729+
Date offset for a specific weekday in a month.
3730+
tseries.offsets.MonthEnd :
3731+
Date offset for the end of the month.
3732+
tseries.offsets.BMonthEnd :
3733+
Date offset for the last business day of the month.
3734+
37263735
Examples
37273736
--------
37283737
>>> ts = pd.Timestamp(2022, 1, 1)

0 commit comments

Comments
 (0)