参考:https://blog.csdn.net/weixin_43179111/article/details/82745390
https://www.jb51.net/article/180348.htm
https://www.jb51.net/article/211271.htm
Python中几种常用包比较
最近xlrd更新到了2.0.1版本,只支持.xls文件。所以pandas.read_excel(‘xxx.xlsx’)会报错:xlrd.biffh.XLRDError: Excel xlsx file; not supported
可以安装旧版xlrd,在cmd中运行:
pip uninstall xlrd
pip install xlrd==1.2.0
也可以用openpyxl代替xlrd打开.xlsx文件ÿ