I am trying to compare two csv file. I want to compare similarity user_name if the user_name have same name as table1 and table2 create table3 print
for example
table1.csv
id_Acco, user_name, post_time
1543603, SameDavie , "2020/09/06"
1543595, Johntim, "2020/09/11"
1558245, ACAtesdfgsf , "2020/09/19"
table2.csv
id_Acco, user_name, post_time
1543603, SameDavie, "2020/09/06"
1543595, Johntim , "2020/09/11"
1558245, Davidwillian, "2020/09/19"
OutPut
table3.csv
id_Acco, user_name, post_time
1543603, SameDavie , "2020/09/06"
1543595, Johntim , "2020/09/11"
code
`A = pd.read_csv(r'table1.csv')
B= pd.read_csv(r'table2.csv')
print(A-B)
print(B-A)