pandas.tseries.offsets.BHalfYearBegin.rule_code#
- BHalfYearBegin.rule_code#
Return a string representing the frequency with month suffix.
This property generates a rule code string that combines the offset’s prefix with the abbreviated month name of the starting month.
See also
FY5253Quarter.get_rule_code_suffixReturn the suffix component of the rule code for FY5253Quarter.
FY5253.get_rule_code_suffixReturn the suffix component of the rule code for FY5253.
Examples
>>> offset = pd.offsets.BHalfYearEnd(startingMonth=6) >>> offset.rule_code 'BHYE-JUN'