“Equal” is defined by having the same shape, same elements, in the same order.
If 2 Series, or columns are equal:
is_equal = df[col1].equals(df[col2])
print(is_equal)
>>True
If 2 DataFrames are equal:
is_equal = df.equals(df2)
print(is_equal)
>>True