python中excel处理及生成图表
excel 相关操作自动办公之表格计算及生成条形图导入openpyxl模块(pypi官网复制pip指令下载)import openpyxl as xlfrom openpyxl.chart import BarChart,Referencewb = xl.load_workbook("test.xlsx")sheet = wb['Sheet1']#访问单元格#cell = sheet['a1']# cell = sheet.cell(1,1)for row in range(2,sh
原创
2021-05-19 15:40:06 ·
1979 阅读 ·
0 评论