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

Connected

Exercise

Copy an Expectation

In this exercise, you'll practice copying an Expectation from one Expectation Suite to another, without producing an error. Two Expectation Suites have already been created for you: one called suite and one called new_suite. The Expectation you will copy has been assigned to the variable expectation. Great Expectations and pandas are available as gx and pd, respectively.

Instructions 1/2

undefined XP
    1
    2
  • Make a copy of the Expectation expectation
  • Set the ID of the copy to None.