Porównaj dwie ramki danych w 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)