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.
Questo esercizio fa parte del corso
Scaling and Optimizing Data Pipelines with Polars
Istruzioni dell'esercizio
- Assert that the full
actualandexpectedDataFrames match.
esercizio interattivo pratico
Prova questo esercizio completando questo codice di esempio.
# Full-frame equality assertion
____(actual, expected)
print("Frame assertion passed.")
print(actual)