BaşlayınÜcretsiz Başlayın

Inspect your Batch

In this exercise, you'll practice viewing your data using your Batch. The Data Context has been created, a Data Asset has been assigned to the variable data_asset, and the Kaggle Weather Data has been loaded into a pandas DataFrame called dataframe. Great Expectations and pandas are available as gx and pd, respectively.

Bu egzersiz

Introduction to Data Quality with Great Expectations

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Create Batch Definition and Batch
batch_definition = data_asset.add_batch_definition_whole_dataframe(
  name="my_batch_definition"
)
batch = batch_definition.get_batch(
  batch_parameters={"dataframe": dataframe}
)

# Print columns list
batch_columns = batch.____()
print(batch_columns)
Kodu Düzenle ve Çalıştır