使用pandas对excel数据做块状提取
excel数据块状提取
coding=utf-8
‘’’
Function : excel to hrl
Author : guanning.wu
Created time : 2020-8-13
Other :python=2.7.11,pandas=0.24.2
‘’’
import xlrd
import pandas as pd
import sys
#panda块需要
reload(sys)
sys.setdefaultencoding(‘utf-8’)
#打开文件,获取excel文件的work
原创
2021-02-18 16:52:12 ·
668 阅读 ·
0 评论