pyarrow.DayTime#

class pyarrow.DayTime(iterable=(), /)#

Bases: tuple

A calendar interval consisting of days and milliseconds.

__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

days

The number of days in the interval

milliseconds

The number of milliseconds in the interval

n_fields

n_sequence_fields

n_unnamed_fields

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.

milliseconds#

The number of milliseconds in the interval

n_fields = 2#
n_sequence_fields = 2#
n_unnamed_fields = 0#