MulaiMulai sekarang secara gratis

Evaluate Validation Results

Now, you'll gain some more familiarity with the Validation Results of an Expectation validation. You'll try out a couple of ways of evaluating these results.

The Renewable Power Generation dataset has already been loaded into a Batch, assigned to the variable batch. The Expectation you created in the last exercise is assigned to the variable expectation, and the Validation Results are assigned to the variable validation_results. 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.

# Validate Expectation
validation_results = batch.validate(
  expect=expectation
)

# Describe Validation Results
print(validation_results.____())
Edit dan Jalankan Kode