diff --git a/ci/code_checks.sh b/ci/code_checks.sh index f8ca4c8a3b998..61be297eadf2a 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -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" \ @@ -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" \ diff --git a/pandas/_libs/tslibs/offsets.pyx b/pandas/_libs/tslibs/offsets.pyx index 1f2b8eceb39ad..7e628a2273c2e 100644 --- a/pandas/_libs/tslibs/offsets.pyx +++ b/pandas/_libs/tslibs/offsets.pyx @@ -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. @@ -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.