Skip to main content

Module datetime

Module datetime 

Source
Expand description

Datetime extension DTypes, compatible with Apache Arrow.

Structs§

AnyTemporal
Matcher for temporal extension data types.
Date
Date DType.
Duration
A signed duration stored as an i64 count of seconds, milliseconds, microseconds, or nanoseconds.
Time
Time DType.
Timestamp
A timestamp stored as an i64 count of seconds, milliseconds, microseconds, or nanoseconds.
TimestampOptions
Options for the Timestamp DType.

Enums§

DateValue
Unpacked value of a Date extension scalar.
DurationValue
Unpacked value of a Duration extension scalar.
TemporalJiff
A Jiff representation of a temporal value.
TemporalMetadata
Metadata for temporal extension data types.
TemporalRounding
How to handle fractional counts in a coarser temporal unit.
TimeUnit
Time units for temporal data.
TimeValue
Unpacked value of a Time extension scalar.
TimestampValue
Unpacked value of a Timestamp extension scalar.

Functions§

check_time_of_day
Check that a count of unit lies within one day, as every Time value must.
local_count
Shift a timestamp count into the local wall-clock time of zone.
map_counts
Apply convert to each valid count of a temporal array, and return an array of target.
resolve_time_zone
Resolve an Arrow timestamp timezone, accepting IANA names and fixed offsets.