Establish numeric Expectations
In this exercise, you'll practice establishing and validating some numeric-type Expectations, both at the aggregate- and row-levels. As you go through each of these Expectations, think about whether or not this is an Expectation you would write for this particular dataset. Is this a reasonable thing to expect of the data? Do you expect the Validation Result to be successful?
A Batch connected to the Shein Footwear dataset has already been created and assigned to the variable batch
. 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
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# View head of DataFrame
print(batch.____)