Structs§
Enums§
- Column
Kind Tag - Data
Error - Typed error variants for the data-loading module.
- Unseen
Category Policy
Constants§
- CATEGORICAL_
CELL_ SENTINEL - Prefix a typed Python frame stamps onto a cell that originates from a
genuinely-categorical source column (string / object / categorical dtype).
The column-major inference (
infer_and_encode_column_major) and the schema-guided predict ingest (gam-pyffi::string_records_from_rows) both strip this prefix before recording or matching a level; its presence forces the column toCategoricaleven when every label parses as a number, so a string column labeled “0”,“1”,“2” is one centred factor level per label rather than a numeric ramp (#1317 / #1318). A leading NUL never appears in a numeric literal, so an untyped CSV/array frame (no prefix) is unaffected.
Functions§
- encode_
recordswith_ inferred_ schema - encode_
recordswith_ schema - infer_
and_ encode_ column_ major - Infer the schema of, and densely encode, a single column presented in
column-major form (
name+ its raw string field for every row). - load_
csvwith_ inferred_ schema - load_
dataset_ projected - load_
dataset_ projected_ with_ categorical_ roles - Schema-inferring projected loader that forces a set of columns to
ColumnKindTag::Categoricalregardless of whether their labels parse as numbers. - load_
datasetwith_ schema_ projected - strip_
categorical_ sentinel - Strip the leading
CATEGORICAL_CELL_SENTINELfrom a cell if present, returning the clean text and whether the marker was found.