Module polars_core::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
categorical
dtype-categorical
stringcache
dtype-categorical
Structs
BinaryType
dtype-binary
CatIter
dtype-categorical
CategoricalChunked
dtype-categorical
CategoricalChunkedBuilder
dtype-categorical
Maps a logical type to a a chunked array implementation of the physical type.
This saves a lot of compiler bloat and allows us to reuse functionality.
ObjectType
object
OwnedObject
object
StrHashLocal
dtype-categorical
StructChunked
dtype-struct
This is logical type
StructChunked
that
dispatches most logic to the fields
implementationsEnums
The set of supported logical types in this crate.
The time units defined in Arrow.
RevMapping
dtype-categorical
RevMappingBuilder
dtype-categorical
Constants
IDX_DTYPENon-
bigidx
Traits
Any type that is not nested
Functions
Type Definitions
BinaryChunked
dtype-binary
DateChunked
dtype-date
DatetimeChunked
dtype-datetime
DurationChunked
dtype-duration
IdxArrNon-
bigidx
IdxCaNon-
bigidx
IdxSizeNon-
bigidx
The type used by polars to index data.
IdxTypeNon-
bigidx
ObjectChunked
object
PlHashMap
private
PlHashSet
private
PlIdHashMap
private
This hashmap has the uses an IdHasher
PlIndexMap
private
PlIndexSet
private
TimeChunked
dtype-time