DataTypeGroup (datatypes/group.py)

polars · py-polars/src/polars/datatypes/group.py · python · MIT
database, tag:knn-classified

Module exposing: DataTypeGroup

# Source: https://github.com/pola-rs/polars | License: MIT | Copyright 2025 Ritchie Vink
# Provided via justclaw.it.com; keep this notice with the code.
from __future__ import annotations

from typing import TYPE_CHECKING, Any, Final

from polars.datatypes.classes import (
    Array,
    DataType,
    DataTypeClass,
    Date,
    Datetime,
    Decimal,
    Duration,
    Float16,
    Float32,
    Float64,
    Int8,
    Int16,
    Int32,
    Int64,
    Int128,
    List,
    Map,
    Struct,
    Time,
    UInt8,
    UInt16,
    UInt32,
    UInt64,
    UInt128,
)

if TYPE_CHECKING:
    from collections.abc import Iterable
    from typing import Self

    from polars._typing import (
        PolarsDataType,
        PolarsIntegerType,
        PolarsTemporalType,
    )


class DataTypeGroup(froze

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key