DType class sealed
A Polars data type descriptor.
Descriptors are immutable values compared by their JSON form. Having a descriptor does not imply that values or kernels are available; check capabilities first.
- Implementers
- ArrayType
- BinaryOffsetType
- BinaryType
- BooleanType
- CategoricalType
- DateTimeType
- DateType
- DecimalType
- DurationType
- EnumType
- ExtensionType
- Float16Type
- Float32Type
- Float64Type
- Int8Type
- Int16Type
- Int32Type
- Int64Type
- Int128Type
- ListType
- NullType
- ObjectType
- StringType
- StructType
- TimeType
- UInt8Type
- UInt16Type
- UInt32Type
- UInt64Type
- UInt128Type
- UnknownType
Properties
- capabilities → DTypeCapabilities
-
The operations that this binding supports for this type.
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- kind → String
-
The protocol name of this type, such as
int64orlist.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> - Encodes this descriptor in the native protocol JSON form.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override