pandas.tseries.offsets.BYearEnd.month#
- BYearEnd.month#
Return the month of the year on which this offset applies.
Returns an integer representing the month (1-12) that this offset targets. For year-based offsets, this determines which month is used for calculations.
See also
tseries.offsets.YearEndOffset to end of year.
tseries.offsets.YearBeginOffset to start of year.
tseries.offsets.BYearEndOffset to last business day of year.
tseries.offsets.BYearBeginOffset to first business day of year.
Examples
>>> pd.offsets.BYearBegin().month 1
>>> pd.offsets.BYearBegin(month=6).month 6