LoslegenKostenlos starten

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.

Diese Übung ist Teil des Kurses

<Kurs>Scaling and Optimizing Data Pipelines with Polars</Kurs>
Kurs ansehen

Übungsanweisungen

  • Assert that the full actual and expected DataFrames match.

Interaktive praktische Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Full-frame equality assertion
____(actual, expected)
print("Frame assertion passed.")
print(actual)
Code bearbeiten und ausführen