import pandas as pd
main_file_path = '../input/train.csv'
df1 = pd.read_csv(main_file_path)
main_file_path2 = '../input/test.csv'
df2 = pd.read_csv(main_file_path2)
df1.columns
df2.columns
How can I know the fields they have in common and the fields that differ in both dataframe
?