Comparez deux cadres de données dans Assert
from pandas._testing import assert_frame_equal
assert_frame_equal(df1, df2)
Black Wolf
from pandas._testing import assert_frame_equal
assert_frame_equal(df1, df2)