Delete an Expectation
In this exercise, you'll practice deleting an Expectation from an Expectation Suite. The following variables have already been assigned:
expectation: the Expectation to deletesuite: the Expectation Suite containingexpectationvalidation_definition: the Validation Definition for the Expectation Suitedataframe: the pandas DataFrame to run through the Validation Definition
Great Expectations and pandas are available as gx and pd, respectively.
Este exercício faz parte do curso
Introduction to Data Quality with Great Expectations
Instruções do exercício
- Delete the Expectation
expectationfrom the Expectation Suite. - Save your changes to the Expectation Suite.
- Re-run the Validation Definition.
Exercício interativo prático
Experimente este exercício completando este código de exemplo.
# Delete the Expectation
suite.____(
expectation=expectation
)
# Save changes
suite.____()
# Run the Validation Definition
validation_definition.run(
batch_parameters={____: ____}
)