pandas.tseries.offsets.Easter.nanos — pandas 3.0.0rc0+50.gf4cd63d03d documentation (original) (raw)

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