pandas.tseries.offsets.Easter.nanos — pandas 3.0.0rc0+50.gf4cd63d03d documentation (original) (raw)
- API reference
- Date offsets
- pandas.tseries.offsets.Easter.nanos
Easter.nanos#
Returns an 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