Is there a different way to read .xls and .xlsx file? I am currently using read_excel method but it doesn't work with .xlsx file.
df = pd.read_excel(r'path/sample.xlsx',skiprows=2)
It doesn't work with .xlsx file and it gives the below error.
Error: xlrd.biffh.XLRDError: Excel xlsx file; not supported