1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Data Quality with Great Expectations

Connected

Exercise

Validation Definition vs. Batch Definition

Now, let's practice validating your Expectation Suite using two different techniques.

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.

Instructions 1/2

undefined XP
  • 1
    • Create a Validation Definition.
    • Run the Validation Definition.
    • Describe the Validation Results.
  • 2
    • Create a Batch Definition.
    • Run the Batch Definition on your Expectation Suite.
    • Describe the Validation Results.