使用熊猫以更少的时间读取execl

时间:2019-04-30 09:43:40

标签: pandas

start_time = datetime.datetime.now()
data = pandas.read_excel(file_name.decode('utf-8'), sheet_name=num, skiprows=3, index=False,encoding='utf-8')
end_time = datetime.datetime.now()
print end_time- start_time

这需要两秒钟

0 个答案:

没有答案