📅  最后修改于: 2022-03-11 14:47:11.806000             🧑  作者: Mango
>>> df = pd.DataFrame({1: [10], 2: [20]})
>>> exactly_equal = pd.DataFrame({1: [10], 2: [20]}) # Note the same as above
>>> df.equals(exactly_equal)
True
# Two are the same hence true. If not would be false