EmpezarEmpieza gratis

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.

Este ejercicio forma parte del curso

Scaling and Optimizing Data Pipelines with Polars

Ver curso

Instrucciones del ejercicio

  • Assert that the full actual and expected DataFrames match.

ejercicio interactivo práctico

Prueba este ejercicio completando este código de ejemplo.

# Full-frame equality assertion
____(actual, expected)
print("Frame assertion passed.")
print(actual)
Editar y ejecutar código