【ERROR】xlrd.biffh.XLRDError: Openoffice.org ODS file; not supported
来源:互联网 发布:怎么改变ps4网络类型 编辑:程序博客网 时间:2024/06/16 12:50
>>> import pandas as pd>>> import numpy as np>>> df = pd.read_excel("excel-comp-data.xlsx")Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python2.7/dist-packages/pandas/io/excel.py", line 191, in read_excel io = ExcelFile(io, engine=engine) File "/usr/local/lib/python2.7/dist-packages/pandas/io/excel.py", line 249, in __init__ self.book = xlrd.open_workbook(io) File "/usr/local/lib/python2.7/dist-packages/xlrd/__init__.py", line 428, in open_workbook raise XLRDError('Openoffice.org ODS file; not supported')xlrd.biffh.XLRDError: Openoffice.org ODS file; not supported
解决方法
xlrd 是不能读取 2007的excel文件的,改成2007之后的excel文件。
如果需要处理2007格式的excel文件,推荐使用 http://packages.python.org/openpyxl/
0 0
- 【ERROR】xlrd.biffh.XLRDError: Openoffice.org ODS file; not supported
- Getting “org.hibernate.TransactionException: nested transactions not supported” error when deleting
- Error:Authentication scheme ‘all’(Authentication) is not supported by protocol ‘file’
- org.hibernate.TransactionException: nested transactions not supported
- OpenOffice.org
- Access error:Selected Collating Sequence Not Supported
- Operation not supported. Unknown error: 0x8973190e
- Ubuntu install macbuntu,system not supported error
- 解决 cmake_symlink_library: System Error: Operation not supported
- Error : Servname not supported for ai_socktype 错误
- 关于flume 中spooldir传输数据报出HDFS IO error ..... File type DataStream not supported 错误解决
- Error: File not access
- CMake Error: cmake_symlink_library: System Error: Operation not supported
- org.hibernate.QueryException: implicit polymorphism not supported for scroll() queries
- org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'PUT' not supported
- org.hibernate.TransactionException: nested transactions not supported错误的解决方案
- org.hibernate.hql.internal.QueryExecutionRequestException: Not supported for DML operations
- BIT file package is not supported:7z035ffg676
- 前端工具简介 fis3,webpack
- 一组整数中,除了一个数,其他数都出现了3次或以上,找出这个数
- dede数据库类使用方法 $dsql
- Android Studio 配置
- powershell get-aduser Property
- 【ERROR】xlrd.biffh.XLRDError: Openoffice.org ODS file; not supported
- 全排列算法所有实现方式
- Qt自定义注释功能
- PullToRefreshListView刷新无法停止的问题
- centos常用命令
- 基础类库:Date类
- 透过byte数组简单分析Java序列化、Kryo、ProtoBuf序列化
- ZJNU 1265 推公式
- 如何将eclipse的项目转到android studio中及其注意事项?