An Operator is used to perform operations on a dataset. They are defined as regular table transforms. Each Operator is defined as a pydantic model, which specifies:
- Required input columns in the input dataset and output column names
- Parameter values to customize the evaluation.
Each Operator implements two methods, which are to be run in order:
setup()- Loads models, sets up file addresses etc.
run()- Runs the operator. It takes 0 or more Polars DataFrames as input, and returns a dictionary with the
outputkey set to the computed DataFrame/None. Any extra information can be found in the
Though operators can be used on their own, they are typically used in Checks, that make it easy to add Charts chain multiple operators together. Using a
Check, you won’t have to manually perform the
To learn more about Operators, see the Operator documentation.
You can also create your own custom operators. To learn more, see the Custom Operator tutorial.
Was this page helpful?