大家在利用pandas读取excel文件的时候,一定会碰到类似的问题;这里主要写一下我踩过的坑:
#官网pandas对engine的解释
enginestr, default None
If io is not a buffer or path, this must be set to identify io. Supported engines: “xlrd”, “openpyxl”, “odf”, “pyxlsb”. Engine compatibility :

“xlrd” supports old-style Excel files (.xls).

“openpyxl” supports newer Excel file formats.

“odf” supports OpenDocument file formats (.odf, .ods, .odt).

“pyxlsb” supports Binary Excel files.

Changed in version 1.2.0: The engine xlrd now only supports old-style .xls files. When engine=None, the following logic will be used to determine the engine:

If path_or_buffer is an OpenDocument format (.odf, .ods, .odt), then odf will be used.

Otherwise if path_or_buffer is an xls format, xlrd will be used.

Otherwise if path_or_buffer is in xlsb format, pyxlsb will be used.

New in version 1.3.0.

Otherwise openpyxl will be used.

但是,我们大部分应该是下载Exel文件的时候,里面内容的格式很乱导致pandas不知道用那个engine工作,所以才会让你手动ing指定engine。这里很简单你把文件另存为相应的格式就欧克了。

Excel file format cannot be determined, you must specify an engine manually相关推荐

  1. 【Python】Pandas Excel file format cannot be determined, you must specify an engine manually.报错【已解决】

    Pandas读取Excel报错 Excel file format cannot be determined, you must specify an engine manually. pd.read ...

  2. 无法读取excel: Excel file format cannot be determined, you must specify an engine manually.建模题目的数据

    打数学建模遇到的,后面跑spsspro的时候也说excel文件加密打不开,后来把excel另存为了一下就行了.应该就是文件有加密

  3. ValueError: Excel file format cannot be determined, you must specify an engine manually.解决问题亲测有效

    这个问题我搞了很久,最后终于搞明白了,先贴图,网上各种什么utf-8呀,格式化或者另存都不行,我都试过了. 问题在于原表格格式有些问题,最直接的办法就是把表格的内容复制到一个自己新建的表格中,然后改成 ...

  4. MICROSOFT EXCEL FILE FORMAT(BIFF2.1)

    转自:http://www.xgdown.com/article/243/61822_1.htm 作用:http://unruledboy.cnblogs.com/archive/2004/07/07 ...

  5. LLVM Bitcode File Format - LLVM 比特流文件格式

    LLVM Bitcode File Format - LLVM 15.0.0git documentationhttps://llvm.org/docs/BitCodeFormat.html 目录 A ...

  6. easypoi必填项_GitHub - wangjingting/poi-utils: help you more easy read or write excel file

    author:邹凯明 poi-utils help you more easy reading or writing[TODO] excel file 本工具包入口类是ExcelFileUtil,对于 ...

  7. “undefined reference to JNI_GetCreatedJavaVM”和“File format not recognized”错误原因分析...

    "undefined reference to JNI_GetCreatedJavaVM"和"File format not recognized"错误原因分析 ...

  8. libopencv_core.so: file not recognized: File format not recognized

    /dependencies/OpenCV348/lib/libopencv_core.so: file not recognized: File format not recognized 解决方法: ...

  9. error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format

    vc里面遇到这个问题的解决方案 error C4335: Mac file format detected: please convert the source file to either DOS ...

最新文章

  1. 2013 ACM/ICPC Asia Regional Chengdu Online We Love MOE Girls 字符串STL 的应用
  2. android device monitor命令行窗口在哪里_Vulkan在Android使用Compute shader
  3. java jediscluster_方便jediscluster操作的工具类
  4. reactjs组件的props属性及其特点
  5. RedOffice教你DIY环保小日历
  6. 信息安全工程师-AES密码技术及XOR图像遮盖技术(JavaC++)
  7. Intel® Nehalem/Westmere架构/微架构/流水线 (5) - 高速缓存 存储器子系统
  8. php 协议头,入门PHP实现MQTT协议的固定头部(Fix header)
  9. 常用的简单的数值比较方法
  10. matlab已经停止工作,Win7旗舰版运行Matlab提示已停止工作解决措施
  11. itextpdf生成列表基本用法
  12. 志强CPU E5 E7参数,CPU内核参数对比图
  13. bootstrap学习使用
  14. 6 --> MAC层协议
  15. 长按android版本,Android系统长按power实现键硬件关机—高通sdm845
  16. 客户端面试知识点总结
  17. python 3 中的 os 以及 os.path 模块的使用详解!阿波的博客
  18. java实现单机版和网络对战版五子棋
  19. 3.golang数据结构之队列
  20. Java实现批阅奏章问题

热门文章

  1. 04-C语言如何返回两个甚至多个值?
  2. 双引号后面要加句号吗_双引号后的句号在前还是在后?
  3. 搏一搏 单车变摩托,是时候捣鼓一下家中的小米电视机啦。
  4. 电脑参数--CPU篇
  5. 软件分享 目前最友好的开源远程桌面软件,完美替代 TeamViewer 和 AnyDesk
  6. 2021年1--3月日历带农历天干地支
  7. 05 Redis 持久化的设计和实现
  8. xp系统扫描仪服务器,通过系统自带的扫描仪向导获取图片(适用于WinXP)
  9. Kibana discover如何显示符合要求的时间格式
  10. 【单调栈】【概念讲解模板代码】