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

Connected

Exercise

Establish row-level Expectations

In this exercise, you'll practice writing some column-specific Expectations at the row level. You'll be using the same Shein footwear dataset from the video. You can learn more about the dataset here.

The Batch has already been assigned to a variable called batch and loaded with the Shein Footwear dataset. Great Expectations and pandas are available as gx and pd, respectively.

Instructions 1/2

undefined XP
  • 1
    • Add an Expectation that values of the "name" column not be null.
    • Run your Expectation.
    • Print out the success status.
  • 2
    • Add an Expectation that the "sku_id" column be of string type.
    • Run your Expectation.
    • Print out the success status.