Data Types

Data Types

Basic data types supported by Schema.

Basic Types

Type NameYAML SyntaxDescriptionExample Values
Integertype: int6464-bit integer123, -456
Floattype: float6464-bit floating point3.14, -0.5
Stringtype: stringText data"Hello", "123"
Booleantype: booleanTrue/false valuestrue, false
Datetimetype: datetime64Date and time"2024-01-15", "2024-01-15 14:30:00"
ℹ️
Categorical Data: Use the category: true parameter to mark categorical data, not type: category.

Type Mapping

Pandas dtypeSchema type
int8, int16, int32, int64int64
uint8, uint16, uint32, uint64int64
float16, float32, float64float64
object, stringstring
boolboolean
datetime64datetime64