Skip to content Skip to sidebar Skip to footer

Error (little-endian) Reading A XLS File With Python

I download a XLS file from the web using selenium. I tried many options I found in stack-overflow and other websites to read the XLS file : import pandas as pd df = pd.read_excel(

Solution 1:

What does pd mean?? What

pandas is made for data science. In my opinion, you have to use openpyxl (read and write only xlsx) or xlwt/xlrd (read xls... and write only xls).

from xlrd import open_workbook
book = open_workbook(<math file>)
sheet =.... 

It has several examples with this on Internet...


Post a Comment for "Error (little-endian) Reading A XLS File With Python"