更新一個 Expectation
在上一個練習中,欄位數量的 Expectation 失敗了。這一題你將嘗試更新該 Expectation,看看是否能通過。
已將 Renewable Power Generation 資料集載入為一個 Batch,並指定給變數 batch。Great Expectations 與 pandas 分別可用作 gx 與 pd。
本練習屬於課程
Great Expectations 資料品質入門
動手互動練習
試著完成這個範例程式碼,體驗一下這個練習。
# Update Expectation
expectation.____ = 18
# Save Expectation
expectation.____()