Aan de slagGa gratis aan de slag

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 delete
  • suite: the Expectation Suite containing expectation
  • validation_definition: the Validation Definition for the Expectation Suite
  • dataframe: the pandas DataFrame to run through the Validation Definition

Great Expectations and pandas are available as gx and pd, respectively.

Deze oefening maakt deel uit van de cursus

Introduction to Data Quality with Great Expectations

Cursus bekijken

Oefeninstructies

  • Delete the Expectation expectation from the Expectation Suite.
  • Save your changes to the Expectation Suite.
  • Re-run the Validation Definition.

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Delete the Expectation
suite.____(
  expectation=expectation
)

# Save changes
suite.____()

# Run the Validation Definition
validation_definition.run(
  batch_parameters={____: ____}
)
Code bewerken en uitvoeren