Expectation をコピーする
この演習では、ある Expectation Suite から別の Expectation Suite に、エラーを出さずに Expectation をコピーする練習をします。すでに 2 つの Expectation Suite が用意されています。1 つは suite、もう 1 つは new_suite です。コピーする対象の Expectation は変数 expectation に代入されています。Great Expectations と pandas はそれぞれ gx と pd として利用できます。
この演習はコースの一部です
Great Expectationsで始めるデータ品質入門
実践的なインタラクティブ演習
このサンプルコードを完成させて、この演習に挑戦してみましょう。
# Copy Expectation
expectation_copy = expectation.____()
# Set New Expectation ID to None
expectation_copy.____ = ____