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.
Deze oefening maakt deel uit van de cursus
Scaling and Optimizing Data Pipelines with Polars
Oefeninstructies
- Assert that the full
actualandexpectedDataFrames match.
Interactieve oefening met praktijkervaring
Probeer deze oefening door deze voorbeeldcode aan te vullen.
# Full-frame equality assertion
____(actual, expected)
print("Frame assertion passed.")
print(actual)