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
- time_
unit - time_
zone
Structs§
- Binary
Offset Type - Binary
Type - Boolean
Type - Categorical8
Type - Categorical16
Type - Categorical32
Type - Categorical
Mapping dtype-categorical
- Categorical
Type - Categories
dtype-categorical
- A (named) object which is used to indicate which categorical data types have the same mapping.
- Compat
Level - Date
Type - Datetime
Type - Decimal
Type - Dimension
- Duration
Type - FalseT
- Field
- Characterizes the name and the
DataType
of a column. - Fixed
Size List Type dtype-array
- Float32
Type - Float64
Type - Frozen
Categories dtype-categorical
- An ordered collection of unique strings with an associated pre-computed mapping to go from string <-> index.
- Int8
Type - Int16
Type - Int32
Type - Int64
Type - Int128
Type - List
Type - 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.
- Object
Type object
- Owned
Object object
- PlSmall
Str - String type that inlines small strings.
- String
Type - Time
Type - Time
Zone - TrueT
- UInt8
Type - UInt16
Type - UInt32
Type - UInt64
Type
Enums§
- AnyValue
- Arrow
Data Type - The set of supported logical types in this crate.
- Arrow
Time Unit - The time units defined in Arrow.
- Categorical
Physical dtype-categorical
- The physical datatype backing a categorical / enum.
- Data
Type - Reshape
Dimension - A dimension in a reshape.
- Time
Unit - Unknown
Kind
Constants§
Statics§
Traits§
- Array
Collect Iter Ext - Array
From Iter - Array
From Iter Dtype - AsRef
Data Type - CatNative
dtype-categorical
- Categorical
Physical Dtype Ext dtype-categorical
- GetAny
Value - Init
Hash Maps - Init
Hash Maps2 - Into
Metadata - Into
Scalar - Logical
Type - Meta
Data Ext - Numeric
Native - Polars
Categorical Type dtype-categorical
- Safety
- Polars
Data Type - Safety
- Polars
Float Type - Polars
Integer Type - Polars
Numeric Type - Polars
Physical Type - Schema
ExtPl - Static
Array
Functions§
- ensure_
same_ categories dtype-categorical
- ensure_
same_ frozen_ categories dtype-categorical
- merge_
dtypes - unpack_
dtypes
Type Aliases§
- Array
Chunked dtype-array
- Binary
Chunked - Binary
Offset Chunked - Boolean
Chunked - CatSize
dtype-categorical
- Categorical8
Chunked dtype-categorical
- Categorical16
Chunked dtype-categorical
- Categorical32
Chunked dtype-categorical
- Categorical
Chunked dtype-categorical
- Decimal
Chunked dtype-decimal
- Field
Ref - Float32
Chunked - Float64
Chunked - IdxArr
- IdxCa
Non- bigidx
- IdxType
Non- bigidx
- Int8
Chunked - Int16
Chunked - Int32
Chunked - Int64
Chunked - Int128
Chunked dtype-i128
- List
Chunked - Object
Chunked object
- PlHash
Map - PlHash
Set - PlId
Hash Map - This hashmap uses an IdHasher
- PlIndex
Map - PlIndex
Set - PlRandom
State - String
Chunked - UInt8
Chunked - UInt16
Chunked - UInt32
Chunked - UInt64
Chunked