pandas.tseries.offsets.BHalfYearBegin.startingMonth#
- BHalfYearBegin.startingMonth#
Return the month of the year from which half-years start.
This value determines which month marks the beginning of a half-year period. For example, with startingMonth=1, half-years start in January and July.
See also
HalfYearOffset.rule_codeReturn the rule code for the half-year offset.
QuarterOffset.startingMonthSimilar property for quarter-based offsets.
Examples
>>> pd.offsets.BHalfYearBegin().startingMonth 1
>>> pd.offsets.BHalfYearEnd().startingMonth 6
>>> pd.offsets.HalfYearBegin(startingMonth=3).startingMonth 3