Skip to content

Commit 373bb3a

Browse files
DOC: fix SA01 for pandas.tseries.offsets.SemiMonthBegin
1 parent 2a10e04 commit 373bb3a

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

ci/code_checks.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
303303
-i "pandas.tseries.offsets.Second.is_on_offset GL08" \
304304
-i "pandas.tseries.offsets.Second.n GL08" \
305305
-i "pandas.tseries.offsets.Second.normalize GL08" \
306-
-i "pandas.tseries.offsets.SemiMonthBegin SA01" \
307306
-i "pandas.tseries.offsets.SemiMonthBegin.day_of_month GL08" \
308307
-i "pandas.tseries.offsets.SemiMonthBegin.is_on_offset GL08" \
309308
-i "pandas.tseries.offsets.SemiMonthBegin.n GL08" \

pandas/_libs/tslibs/offsets.pyx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3380,6 +3380,13 @@ cdef class SemiMonthBegin(SemiMonthOffset):
33803380
day_of_month : int, {1, 3,...,27}, default 15
33813381
A specific integer for the day of the month.
33823382
3383+
See Also
3384+
--------
3385+
tseries.offsets.SemiMonthEnd : Two DateOffset's per month repeating on the last day
3386+
of the month & day_of_month.
3387+
tseries.offsets.MonthEnd : Offset to the last calendar day of the month.
3388+
tseries.offsets.MonthBegin : Offset to the first calendar day of the month.
3389+
33833390
Examples
33843391
--------
33853392
>>> ts = pd.Timestamp(2022, 1, 1)

0 commit comments

Comments
 (0)