pandas.tseries.offsets.CustomBusinessHour.nanos#
- CustomBusinessHour.nanos#
Returns a integer of the total number of nanoseconds for fixed frequencies.
- Raises:
- ValueError
If the frequency is non-fixed.
See also
tseries.offsets.Hour.nanos
Returns an integer of the total number of nanoseconds.
tseries.offsets.Day.nanos
Returns an integer of the total number of nanoseconds.
Examples
>>> pd.offsets.Week(n=1).nanos ValueError: Week: weekday=None is a non-fixed frequency