Vergleichen Sie zwei Datenrahmen in 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)