Get startedGet started for free

Update an Expectation

In the last exercise, the column count Expectation failed. In this exercise, you'll try updating the Expectation and see if it succeeds.

The Renewable Power Generation dataset has been loaded into a Batch, 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

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Update Expectation
expectation.____ = 18

# Save Expectation
expectation.____()
Edit and Run Code