Skip to content

Commit

Permalink
DOC: Fix PR02 for pandas.tseries.offsets.BYearBegin and pandas.tserie…
Browse files Browse the repository at this point in the history
…s.offsets.YearBegin (#58702)

* DOC: fixed PR02 for pandas.tseries.offsets.YearBegin

* DOC: remove PR02 for pandas.tseries.offsets.YearBegin
  • Loading branch information
tuhinsharma121 committed May 13, 2024
1 parent ed60fa6 commit 9cc5364
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions ci/code_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
-i "pandas.tseries.offsets.BQuarterEnd.normalize GL08" \
-i "pandas.tseries.offsets.BQuarterEnd.rule_code GL08" \
-i "pandas.tseries.offsets.BQuarterEnd.startingMonth GL08" \
-i "pandas.tseries.offsets.BYearBegin PR02" \
-i "pandas.tseries.offsets.BYearBegin.freqstr SA01" \
-i "pandas.tseries.offsets.BYearBegin.is_on_offset GL08" \
-i "pandas.tseries.offsets.BYearBegin.month GL08" \
Expand Down Expand Up @@ -834,7 +833,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
-i "pandas.tseries.offsets.WeekOfMonth.rule_code GL08" \
-i "pandas.tseries.offsets.WeekOfMonth.week GL08" \
-i "pandas.tseries.offsets.WeekOfMonth.weekday GL08" \
-i "pandas.tseries.offsets.YearBegin PR02" \
-i "pandas.tseries.offsets.YearBegin.freqstr SA01" \
-i "pandas.tseries.offsets.YearBegin.is_on_offset GL08" \
-i "pandas.tseries.offsets.YearBegin.month GL08" \
Expand Down
4 changes: 2 additions & 2 deletions pandas/_libs/tslibs/offsets.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2538,7 +2538,7 @@ cdef class BYearBegin(YearOffset):
"""
DateOffset increments between the first business day of the year.
Parameters
Attributes
----------
n : int, default 1
The number of years represented.
Expand Down Expand Up @@ -2633,7 +2633,7 @@ cdef class YearBegin(YearOffset):
YearBegin goes to the next date which is the start of the year.
Parameters
Attributes
----------
n : int, default 1
The number of years represented.
Expand Down

0 comments on commit 9cc5364

Please sign in to comment.