Spec-Zone.ru › Polars

Data types

DataType

DataType

Base class for all Polars data types.

Numeric

Decimal

Decimal 128-bit type with an optional precision and non-negative scale.

Float16

16-bit floating point type.

Float32

32-bit floating point type.

Float64

64-bit floating point type.

Int8

8-bit signed integer type.

Int16

16-bit signed integer type.

Int32

32-bit signed integer type.

Int64

64-bit signed integer type.

Int128

128-bit signed integer type.

UInt8

8-bit unsigned integer type.

UInt16

16-bit unsigned integer type.

UInt32

32-bit unsigned integer type.

UInt64

64-bit unsigned integer type.

Temporal

Date

Data type representing a calendar date.

Datetime

Data type representing a calendar date and time of day.

Duration

Data type representing a time duration.

Time

Data type representing the time of day.

Nested

Array(inner[, shape, width])

Fixed length list type.

List(inner)

Variable length list type.

Field(name, dtype)

Definition of a single field within a Struct DataType.

Struct(fields)

Struct composite type.

String

String

UTF-8 encoded string type.

Categorical

A categorical encoding of a set of strings.

Categories

A named collection of categories for Categorical.

Enum

A fixed categorical encoding of a unique set of strings.

Utf8

alias of String

Other

BaseExtension

Base class for extension data types.

Binary

Binary type.

Boolean

Boolean type.

Extension

Generic extension data type.

Null

Data type representing null values.

Object

Data type for wrapping arbitrary Python objects.

Unknown

Type representing DataType values that could not be determined statically.

© 2020 Ritchie Vink
© 2022 Polars contributors
Licensed under the MIT License.
https://docs.pola.rs/api/python/stable/reference/datatypes.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API