Module datatypes

Source
Expand description

§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 AnyValue variants for the data types that are currently supported.

Modules§

categoricaldtype-categorical
time_unit
time_zone

Structs§

BinaryOffsetType
BinaryType
BooleanType
Categorical8Type
Categorical16Type
Categorical32Type
CategoricalMappingdtype-categorical
CategoricalType
Categoriesdtype-categorical
A (named) object which is used to indicate which categorical data types have the same mapping.
CompatLevel
DateType
DatetimeType
DecimalType
Dimension
DurationType
FalseT
Field
Characterizes the name and the DataType of a column.
FixedSizeListTypedtype-array
Float32Type
Float64Type
FrozenCategoriesdtype-categorical
An ordered collection of unique strings with an associated pre-computed mapping to go from string <-> index.
Int8Type
Int16Type
Int32Type
Int64Type
Int128Type
ListType
Logical
Maps a logical type to a chunked array implementation of the physical type. This saves a lot of compiler bloat and allows us to reuse functionality.
ObjectTypeobject
OwnedObjectobject
PlSmallStr
String type that inlines small strings.
StringType
TimeType
TimeZone
TrueT
UInt8Type
UInt16Type
UInt32Type
UInt64Type

Enums§

AnyValue
ArrowDataType
The set of supported logical types in this crate.
ArrowTimeUnit
The time units defined in Arrow.
CategoricalPhysicaldtype-categorical
The physical datatype backing a categorical / enum.
DataType
ReshapeDimension
A dimension in a reshape.
TimeUnit
UnknownKind

Constants§

IDX_DTYPE

Statics§

EXTENSION_NAME

Traits§

ArrayCollectIterExt
ArrayFromIter
ArrayFromIterDtype
AsRefDataType
CatNativedtype-categorical
CategoricalPhysicalDtypeExtdtype-categorical
GetAnyValue
InitHashMaps
InitHashMaps2
IntoMetadata
IntoScalar
LogicalType
MetaDataExt
NumericNative
PolarsCategoricalTypedtype-categorical
Safety
PolarsDataType
Safety
PolarsFloatType
PolarsIntegerType
PolarsNumericType
PolarsPhysicalType
SchemaExtPl
StaticArray

Functions§

ensure_same_categoriesdtype-categorical
ensure_same_frozen_categoriesdtype-categorical
merge_dtypes
unpack_dtypes

Type Aliases§

ArrayChunkeddtype-array
BinaryChunked
BinaryOffsetChunked
BooleanChunked
CatSizedtype-categorical
Categorical8Chunkeddtype-categorical
Categorical16Chunkeddtype-categorical
Categorical32Chunkeddtype-categorical
CategoricalChunkeddtype-categorical
DecimalChunkeddtype-decimal
FieldRef
Float32Chunked
Float64Chunked
IdxArr
IdxCaNon-bigidx
IdxTypeNon-bigidx
Int8Chunked
Int16Chunked
Int32Chunked
Int64Chunked
Int128Chunkeddtype-i128
ListChunked
ObjectChunkedobject
PlHashMap
PlHashSet
PlIdHashMap
This hashmap uses an IdHasher
PlIndexMap
PlIndexSet
PlRandomState
StringChunked
UInt8Chunked
UInt16Chunked
UInt32Chunked
UInt64Chunked