Get startedGet started for free

Create and Run a Validation Definition

Time to create and run your first Validation Definition.

The Renewable Power Generation dataset has already been loaded into a pandas DataFrame dataframe and read into a Batch Definition batch_definition. An Expectation Suite has been created and assigned to the variable suite. Great Expectations and pandas are available as gx and pd, respectively.

This exercise is part of the course

Introduction to Data Quality with Great Expectations

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Create Validation Definition
validation_definition = gx.____(
  ____=batch_definition, 
  ____=suite, 
  ____="my_validation_definition"
)
Edit and Run Code