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

Testing full DataFrames

The schema matches, and the values are right. Now run the full row-by-row check that confirms actual and expected are equivalent down to every cell.

actual, expected, and assert_frame_equal are preloaded.

Bu egzersiz, kursun bir parçasıdır

Scaling and Optimizing Data Pipelines with Polars

Kursa Göz Atın

Egzersiz talimatları

  • Assert that the full actual and expected DataFrames match.

Uygulamalı etkileşimli egzersiz

Bu egzersizi bu örnek kodu tamamlayarak deneyin.

# Full-frame equality assertion
____(actual, expected)
print("Frame assertion passed.")
print(actual)
Kodu Düzenle ve Çalıştır