किसी Expectation को डिलीट करें
इस अभ्यास में, आप किसी Expectation Suite से एक Expectation डिलीट करने का अभ्यास करेंगे. निम्न वैरिएबल पहले से असाइन हैं:
expectation: डिलीट करने वाला Expectationsuite: वह Expectation Suite जिसमेंexpectationशामिल हैvalidation_definition: उस Expectation Suite के लिए Validation Definitiondataframe: वह pandas DataFrame जिसे Validation Definition के जरिए चलाना है
Great Expectations और pandas क्रमशः gx और pd नाम से उपलब्ध हैं.
यह अभ्यास पाठ्यक्रम का हिस्सा है
Great Expectations के साथ Data Quality परिचय
अभ्यास निर्देश
- Expectation Suite से
expectationExpectation को डिलीट करें. - Expectation Suite में अपने बदलाव सेव करें.
- Validation Definition दोबारा चलाएँ.
इंटरैक्टिव व्यावहारिक अभ्यास
इस अभ्यास को इस नमूना कोड को पूरा करके आज़माएँ।
# Delete the Expectation
suite.____(
expectation=expectation
)
# Save changes
suite.____()
# Run the Validation Definition
validation_definition.run(
batch_parameters={____: ____}
)