AttributeError: 'ElementTree' object has no attribute 'getiterator'
# AttributeError: 'ElementTree' object has no attribute 'getiterator'
# add the argument engine="openpyxl" in your pd.read_excel() to fix this
var = pd.read_excel('C:/path/to/file.xlsx', engine="openpyxl")