pandas if two columns equal then code example
Example: pandas two dataframes equal
>>> 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