i want to compare two excel files and delete rows with common names in the second file. the issue is that one list doesn't have accents while one does. i want to remove the accents in order to compare the names, delete from the second file and then merge the two files. thanks!
code so far
import pandas as pd
from unidecode import unidecode
df0 = pd.ExcelFile('Players.xlsx').parse('Sheet1')
df1 = pd.ExcelFile('Players.xlsx').parse('Sheet1')
result = df0[df0[(unidecode('Name'))].isin(df1[unidecode('Name')])]
result.to_excel('Merged.xlsx', index=False)