出过的那些错
w_Olivia
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
python zip文件读取及文件解压后中文乱码问题
python读取zip文件原创 2022-08-03 10:45:30 · 2047 阅读 · 0 评论 -
[转载] python写入csv文件的中文乱码问题
encoding=‘utf-8-sig’转载 2022-08-03 10:13:38 · 320 阅读 · 0 评论 -
pip安装python模块失败
pip安装python模块失败如:pip3 install PyExecJS -i https://pypi.doubanio.com/simple· pip安装失败:· 找了很多方法,最后尝试加:–trusted-host pypi.doubanio.com成功!pip3 install PyExecJS -i https://pypi.doubanio.com/simple --trusted-host pypi.doubanio.com......原创 2021-12-30 16:54:52 · 1426 阅读 · 0 评论 -
pandas无法打开.xlsx文件,xlrd.biffh.XLRDError: Excel xlsx file; not supported【转发】
pandas无法打开.xlsx文件,xlrd.biffh.XLRDError: Excel xlsx file; not supported原因是最近xlrd更新到了2.0.1版本,只支持.xls文件。所以pandas.read_excel(‘xxx.xlsx’)会报错。可以安装旧版xlrd,在cmd中运行:pip uninstall xlrdpip install xlrd==1.2.0也可以用openpyxl代替xlrd打开.xlsx文件:df=pandas.read_excel(‘dat转载 2020-12-23 17:28:30 · 1331 阅读 · 0 评论
分享