
Definition
Great expectations (GX) is an open-source Python library that allows you to define expectations about your data. GX is integrated into Openlayer, allowing you to use any GX expectations as Openlayer tests. To check all the expectations supported, check out the GX expectations gallery.Taxonomy
- Task types: LLM, tabular classification, tabular regression, text classification.
- Availability: and .
Why it matters
- Data is the substrate on top of which models are built. Validating that the data conforms to expectations is a key step in the model development and monitoring processes.
- GX is a powerful tool that allows you to easily set up a myriad of expectations on your data.
Guide
To create a GX test, click on “Create test” for the “Great expectations” test.
expect_column_mean_to_be_between
.

column
, with the name of the column, a min_value
, and a max_value
. You can provide
these arguments by clicking on “Add kwarg”.

True
if the expectation is met
(in this case, the column mean is between the min_value
and the max_value
).
Once you have added all the arguments, you can click on “Create test” to create the test.
Test configuration examples
If you are writing atests.json
, here are a few valid configurations for the character length test: