且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用Python读取XLS文件时出现错误(little-endian)

更新时间:2022-04-14 21:34:34

pd 是什么意思?

熊猫用于数据科学.在我看来,您必须使用 openpyxl (仅读取和写入xlsx)或 xlwt/xlrd (读取xls ...并仅写入xls).

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 =.... 

在Internet上有几个示例...

It has several examples with this on Internet...