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.
Diese Übung ist Teil des Kurses
Introduction to Data Quality with Great Expectations
Interaktive Übung
Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.
# View head of DataFrame
print(batch.____)