Skip to main content

dtypes

Metadata DTypes

This section documents the structure of the supported metadata dtypes.

Data Type Classes With Attributes

1. Bool

Represents a column containing boolean values. Depending on the database, these may be stored as true/false, 1/0, or similar representations.
AttributeDescription
NameA literal containing the name of the class.
True ProbabilityThis is used to determine the probability of a true value.

2. Bytes

Represents a column containing raw binary data (e.g., files, images, or other non-text data).
AttributeDescription
NameA literal containing the name of the class.
Min Size BytesThe minimum size of the bytes data.
Max Size BytesThe maximum size of the bytes data.

3. Numeric

Represents a column containing numeric values (e.g., integers, floats, decimals).
AttributeDescription
NameA literal containing the name of the class.
Numeric TypeThe numeric subtype: Integer, Float, or Decimal.
CategoriesA list of values that are the categorical values for the columns.
Min ValueMinimum value for the column. Populated if no categories are found.
Max ValueMaximum value for the column. Populated if no categories are found.

4. String

Represents a column containing text or character data.
AttributeDescription
NameA literal containing the name of the class.
CategoriesA list of values that are the categorical values for the columns.
Min LengthMinimum length for the column. Populated if no categories are found.
Max LengthMaximum length for the column. Populated if no categories are found.
Semantic TypeSemantic type for the column. This determines how test data for the column can be generated.

5. Datetime

Represents a column containing date and/or time values (e.g., timestamps, dates).
AttributeDescription
NameA literal containing the name of the class.
CategoriesA list of values that are the categorical values for the columns.
Is Date OnlyA boolean representing whether the current column is a date only column.
Is Time OnlyA boolean representing whether the current column is a time only column.
Min ValueMinimum value for the column. Populated if no categories are found.
Max ValueMaximum value for the column. Populated if no categories are found.

6. Unsupported

Unsupported Column Type
AttributeDescription
NameA literal containing the name of the class.