Skip to main content
`Ctrl`+`K`

# pandas.tseries.offsets.HalfYearBegin.freqstr

HalfYearBegin.freqstr

  Return a string representing the frequency.

  The string representation typically consists of the offset multiplier and a frequency alias (e.g., `'D'` for daily, `'h'` for hourly).

  See also

  `tseries.offsets.BusinessDay.freqstr`

    Return a string representing an offset frequency in Business Days.

  `tseries.offsets.BusinessHour.freqstr`

    Return a string representing an offset frequency in Business Hours.

  `tseries.offsets.Week.freqstr`

    Return a string representing an offset frequency in Weeks.

  `tseries.offsets.Hour.freqstr`

    Return a string representing an offset frequency in Hours.

  Examples

      >>> pd.DateOffset(5).freqstr
      '<5 * DateOffsets>'

      >>> pd.offsets.BusinessHour(2).freqstr
      '2bh'

      >>> pd.offsets.Nano().freqstr
      'ns'

      >>> pd.offsets.Nano(-3).freqstr
      '-3ns'