Compare files excel

Smith smith at smith.it
Sat Jul 22 03:47:59 EDT 2017


Hello to all,
I should compare two excel files with pandas.
Who can help me?


Do you have any links?


i tried this, but not working
import pandas as pd
df1 = pd.read_excel('excel1.xlsx')
df2 = pd.read_excel('excel2.xlsx')
difference = df1[df1!=df2]
print (difference)

Thank you



More information about the Python-list mailing list