rllm.types.ColType

class rllm.types.ColType(value)[source]

Bases: Enum

The semantic type of a column.

A semantic type denotes the semantic meaning of a column, and denotes how columns are encoded into an embedding space within tabular deep learning models:

from rllm.types import ColType

col_type = ColType.NUMERICAL  # Numerical columns
col_type = ColType.CATEGORICAL  # Categorical columns
col_type = ColType.BINARY  # Binary columns
col_type = ColType.TEXT  # Text columns (embedding or tokenization)
col_type = ColType.TIMESTAMP  # Timestamp columns
NUMERICAL

Numerical columns.

CATEGORICAL

Categorical columns.

BINARY

Binary columns.

TEXT

Text columns (processed as embeddings or token sequences based on config).

TIMESTAMP

Timestamp columns.