Module polars::datatypes[][src]

Data types supported by Polars.

At the moment Polars doesn't include all data types available by Arrow. The goal is to incrementally support more data types and prioritize these by usability.

See the AnyType variants for the data types that are currently supported.

Structs

ArrowField

Contains the meta-data for a single relative type.

ArrowSchema

Describes the meta-data of an ordered sequence of relative types.

BooleanType
CategoricalType
Date32Type
Date64Type
DurationMicrosecondType
DurationMillisecondType
DurationNanosecondType
DurationSecondType
Field
Float32Type
Float64Type
Int8Type
Int16Type
Int32Type
Int64Type
IntervalDayTimeType
IntervalYearMonthType
ListType
ObjectTypeobject
Schema
Time32MillisecondType
Time32SecondType
Time64MicrosecondType
Time64NanosecondType
TimestampMicrosecondType
TimestampMillisecondType
TimestampNanosecondType
TimestampSecondType
UInt8Type
UInt16Type
UInt32Type
UInt64Type
Utf8Type

Enums

AnyValue
ArrowDataType

The set of datatypes that are supported by this implementation of Apache Arrow.

DataType
DateUnit

Date is either a 32-bit or 64-bit type representing elapsed time since UNIX epoch (1970-01-01) in days or milliseconds.

IntervalUnit

YEAR_MONTH or DAY_TIME interval in SQL style.

TimeUnit

An absolute length of time in seconds, milliseconds, microseconds or nanoseconds.

Traits

ArrowNumericType
ArrowPrimitiveType

Trait indicating a primitive fixed-width type (bool, ints and floats).

PolarsDataType
PolarsFloatType
PolarsIntegerType
PolarsNumericType
PolarsPrimitiveType
PolarsSingleType

Any type that is not nested

Type Definitions

BooleanChunked
CategoricalChunked
Date32Chunked
Date64Chunked
DurationMillisecondChunked
DurationNanosecondChunked
Float32Chunked
Float64Chunked
Int8Chunked
Int16Chunked
Int32Chunked
Int64Chunked
ListChunked
ObjectChunked
SchemaRef
Time64NanosecondChunked
UInt8Chunked
UInt16Chunked
UInt32Chunked
UInt64Chunked
Utf8Chunked