会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
nimakk
博客园
首页
新随笔
联系
订阅
管理
2019年6月16日
四、excel的数据整理(20190616)
摘要: # Author:ShowTimEimport pandas as pdxlsx_df = pd.read_excel('./excel/6.03实时跟单完成情况 - 副本.xlsx', sheet_name=0, header=2, usecols=[i for i in range(0, 13)
阅读全文
posted @ 2019-06-16 09:56 nimakk
阅读(183)
评论(0)
推荐(0)
2019年6月9日
三、excel用padas读取公式后非空值(20190609)
摘要: # Author:ShowTimEimport xlrdimport sysfrom xlutils.copy import copyimport xlwtimport pandas as pdxlsx = xlrd.open_workbook('../智能跟单/excel/6.03实时跟单完成情况
阅读全文
posted @ 2019-06-09 14:17 nimakk
阅读(421)
评论(0)
推荐(0)
二、excel的数据读取pandas(20190609)
摘要: 代码:xlsx = xlrd.open_workbook('...xls', formatting_info=True)print('num:\n', xlsx.nsheets)output_workbook = xlwt.Workbook()output_worksheet = output_wo
阅读全文
posted @ 2019-06-09 10:05 nimakk
阅读(317)
评论(0)
推荐(0)
一、excel数据读取和全复制(20190609)
摘要: # 假如xlsx较复杂,夹杂着各种格式、规则、宏,可能就会遇到问题 普通读取会丢掉所有这些附带的信息。 # xlrd提供的formatting_info参数取值为True时(为了节省内存,该参数默认为False),就会读取各种格式的信息。 xlsx = xlrd.open_workbook('...
阅读全文
posted @ 2019-06-09 10:02 nimakk
阅读(397)
评论(0)
推荐(0)
公告