Get startedGet started for free

Create a Data Source and Data Asset

In this exercise, you'll practice creating a pandas Data Source and Data Asset. Great Expectations and pandas have already been imported under their standard aliases, gx and pd, respectively.

This exercise is part of the course

Introduction to Data Quality with Great Expectations

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Create Data Context
context = gx.____()

# Add Data Source
data_source = context.data_sources.____(
  name="my_pandas_datasource"
)

print(data_source)
Edit and Run Code