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.
Cet exercice fait partie du cours
<cours>Scaling and Optimizing Data Pipelines with Polars</cours>Instructions de l’exercice
- Assert that the full
actualandexpectedDataFrames match.
Exercice interactif pratique
Essayez cet exercice en complétant ce code d’exemple.
# Full-frame equality assertion
____(actual, expected)
print("Frame assertion passed.")
print(actual)