Skip to main content
ModelSchema contains the specification of all columns that a model expects to receive, including their data types, constraints, and metadata. This schema is used by Fiddler for data validation, monitoring, and analysis purposes. The schema acts as a contract between your model and Fiddler, ensuring that incoming data conforms to expected formats and enabling proper drift detection, data quality monitoring, and other features.

Examples

Creating a model schema:
Accessing columns by name:
Adding a new column:
Removing a column:

Attributes

Schema version
List of columns

__getitem__()

Get column by name

Returns

Column

__setitem__()

Set column by name

__delitem__()

Delete column by name