关注
码龄
粉丝数
原力等级 --
被采纳
被点赞
采纳率
weixin_43561997
2018-11-15 13:27
采纳率: 60%
浏览 8.9k
首页
Python
已采纳
Python读取excel个sheet,怎么将每个sheet的A列和B列数据放入单独list中。
python
初步读取代码如下:
excel的eet1
excel的eet2
因为后续用到pyecharts作折线图,需要分别将每个sheet的A列和B列赋给X /Y.
请各抒己见!!!!!
写回答
好问题
提建议
追加酬金
关注问题
微信扫一扫
点击复制链接
分享
邀请回答
1
条回答
默认
最新
相关推荐
更多相似问题
Python
读取
excel
个
sheet
,怎么将
每个
sheet
的A
列
和
B
列
数据
放入
单独
list
中
。
python
2018-11-15 13:27
回答 1
已采纳
可以用多维数组做 首先你代码有错,FOR循环里重复用了i 实现代码: ```
list
=[] for i in*****
sheet
***** nrow*****
利用
Python
读取
txt文件,并存入PDF转换的
excel
中
python
2022-05-31 21:26
回答 3
已采纳
你已经写的差不多了,ws = wb.active 下面通过 wb.cell(行索引,
列
索引,value=值) 这种方式往里写就行了啊
使用
python
读取
Excel
导入MySQL,但无法
读取
xlsx
mysql
python
有问必答
2021-12-10 19:24
回答 1
已采纳
xlrd
和
xlwt 只能读写 xls 文件要用 openpyxl 才能读写 xlsx 文件。
python
如何
读取
excel
中
一
列
数据
,将
Excel
列
中
的
数据
读取
到
Python
列
表
中
2020-11-28 15:49
追逐幸福的脚步的博客
I am using
python
xlwings to read a column of data in
Excel
2013. Column A is populated with numbers. To import this column into a
python
list
py_
list
, I have the following code;import xlwings as xwwb...
Python
读取
excel
中
sheet
表转为
list
(转)
2022-01-19 21:10
A_NEW_LIFE.的博客
读取
sheet
转
list
没有解决我的问题,
去提问