pandas.tseries.offsets.YearEnd.rule_code#
- YearEnd.rule_code#
- Return a string representing the base frequency. - See also - tseries.offsets.Hour.rule_code
- Returns a string representing the base frequency of ‘h’. 
- tseries.offsets.Day.rule_code
- Returns a string representing the base frequency of ‘D’. 
 - Examples - >>> pd.tseries.offsets.YearBegin(n=1, month=2).rule_code 'YS-FEB' - >>> pd.tseries.offsets.YearEnd(n=1, month=6).rule_code 'YE-JUN'