Expectation Suite を検証する
Expectation Suite を作成したので、次は検証しましょう。Renewable Power Generation データセットは、すでに batch という変数に割り当てられた Batch に読み込まれています。1 つの Expectation を含む Expectation Suite は作成済みで、suite という変数に割り当てられています。その Expectation 自体は expectation という変数に割り当てられています。Great Expectations と pandas はそれぞれ gx と pd として利用できます。
この演習はコースの一部です
Great Expectationsで始めるデータ品質入門
実践的なインタラクティブ演習
このサンプルコードを完成させて、この演習に挑戦してみましょう。
# Validate Suite
validation_results = batch.____(expect=suite)
# Describe Validation Results
print(validation_results.____())