MulaiMulai sekarang secara gratis

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.

Latihan ini adalah bagian dari kursus

Introduction to Data Quality with Great Expectations

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Update Expectation
expectation.____ = 18

# Save Expectation
expectation.____()
Edit dan Jalankan Kode