xlrd 2.0.1之后报 Excel xlsx file; not supported的解决方法

问题描述

在做机器学习实验时,需要将一月入库信息表.xlsx等文件读入作为数据集,在使用python的xlrd读取Excel文件时报错:

import xlrd
import xlwt
from xlutils.copy import copy

xlsx = xlrd.open_workbook(r'C:\Users\26436\Desktop\一月入库信息表.xls')
table = xlsx.sheet_by_index(0)

all_data = []
for i in <

相关推荐

  1. opencv一些解决方案

    2023-12-19 04:18:01       57 阅读
  2. Nginx 错 504 Gateway Time-out 解决方法

    2023-12-19 04:18:01       37 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2023-12-19 04:18:01       98 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2023-12-19 04:18:01       106 阅读
  3. 在Django里面运行非项目文件

    2023-12-19 04:18:01       87 阅读
  4. Python语言-面向对象

    2023-12-19 04:18:01       96 阅读

热门阅读

  1. 解释区块链技术的应用场景和优势

    2023-12-19 04:18:01       59 阅读
  2. Cmake找不到mysql.h和libmysqlclient.so

    2023-12-19 04:18:01       67 阅读
  3. 如何在Linux命令行下发送和接收UDP数据包

    2023-12-19 04:18:01       64 阅读
  4. PostgreSQL 获取指定根节点及其所有子集的id

    2023-12-19 04:18:01       54 阅读
  5. Vue系列之指令 v-html

    2023-12-19 04:18:01       53 阅读
  6. Electron中Tray的setContextMenu导致窗口无法聚焦

    2023-12-19 04:18:01       57 阅读
  7. 【MySQL】(DDL)总结

    2023-12-19 04:18:01       63 阅读
  8. 常见SQL语句速通

    2023-12-19 04:18:01       54 阅读
  9. spring之基于注解管理Bean

    2023-12-19 04:18:01       47 阅读
  10. 【Unity】如何让Unity程序一打开就运行命令行命令

    2023-12-19 04:18:01       62 阅读