CommencerCommencer gratuitement

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.

Cet exercice fait partie du cours

Introduction to Data Quality with Great Expectations

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# View head of DataFrame
print(batch.____)
Modifier et exécuter le code