अपने Expectation Suite को वैलिडेट करें
अब जब आपने अपना Expectation Suite बना लिया है, तो इसे वैलिडेट करने का समय है! Renewable Power Generation डेटासेट पहले से ही एक Batch में लोड है और वैरिएबल batch को असाइन किया गया है। एक Expectation वाला Expectation Suite बनाया जा चुका है और वैरिएबल suite को असाइन है। वह Expectation वैरिएबल expectation को असाइन है। Great Expectations और pandas क्रमशः gx और pd के रूप में उपलब्ध हैं।
यह अभ्यास पाठ्यक्रम का हिस्सा है
Great Expectations के साथ Data Quality परिचय
इंटरैक्टिव व्यावहारिक अभ्यास
इस अभ्यास को इस नमूना कोड को पूरा करके आज़माएँ।
# Validate Suite
validation_results = batch.____(expect=suite)
# Describe Validation Results
print(validation_results.____())