MulaiMulai sekarang secara gratis

Add and list components

You'll now practice adding components to your Data Context, and listing out the components in your Data Context. Pay special attention to how Data Sources differ from the rest of the components in this exercise.

The Context has already been created for you and assigned to the variable context. Great Expectations and pandas are available as gx and pd, respectively.

Latihan ini adalah bagian dari kursus

Introduction to Data Quality with Great Expectations

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# List out Expectation Suites
print(context.suites.all())

# Add Expectation Suite to Data Context
suite = context.____.____(
	gx.ExpectationSuite(name="my_suite")
)

# List out Expectation Suites again
print(context.suites.____)
Edit dan Jalankan Kode