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

Connected

Exercise

Add and list components

You'll now practice adding components to your Data Context, and listing out the components in your Data Context. Pay special attention to how Data Sources differ from the rest of the components in this exercise.

The Context has already been created for you and assigned to the variable context. Great Expectations and pandas are available as gx and pd, respectively.

Instructions 1/3

undefined XP
  • 1
    • Add an Expectation Suite named "my_suite" to your Data Context.
    • List out all of the Expectation Suites in your Context.
  • 2
    • Add a Checkpoint named "my_checkpoint" to your Data Context.
    • List out all of the Checkpoints in your Context.
  • 3
    • Add a pandas Data Source named "my_data_source" to your Data Context.
    • List out all of the Data Sources in your Context.