pandas compare 2 columns for same value in a row code example
Example: python pandas check if two columns are equal
df = pd.DataFrame([[2, 2], [3, 6]], columns = ["col1", "col2"])
df = pd.DataFrame([[2, 2], [3, 6]], columns = ["col1", "col2"])