Skip to main content
`Ctrl`+`K`

# pandas.tseries.offsets.HalfYearBegin.startingMonth

HalfYearBegin.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_code`

    Return the rule code for the half-year offset.

  `QuarterOffset.startingMonth`

    Similar property for quarter-based offsets.

  Examples

      >>> pd.offsets.BHalfYearBegin().startingMonth
      1

      >>> pd.offsets.BHalfYearEnd().startingMonth
      6

      >>> pd.offsets.HalfYearBegin(startingMonth=3).startingMonth
      3