pyarrow.MonthDayNano#
- class pyarrow.MonthDayNano(iterable=(), /)#
Bases:
tupleA calendar interval consisting of months, days and nanoseconds.
- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Attributes
The number of days in the interval
The number of months in the interval
The number of nanoseconds in the interval
- count(value, /)#
Return number of occurrences of value.
- days#
The number of days in the interval
- index(value, start=0, stop=sys.maxsize, /)#
Return first index of value.
Raises ValueError if the value is not present.
- months#
The number of months in the interval
- n_fields = 3#
- n_sequence_fields = 3#
- n_unnamed_fields = 0#
- nanoseconds#
The number of nanoseconds in the interval