import pandas as pd
import xlrd
wb = xlrd.open_workbook(file)
df = pd.read_excel(wb)
df.to_hdf(h5_file,'key',format='table')
python 读取excel写hdf文件
最新推荐文章于 2023-02-27 07:15:00 发布
import pandas as pd
import xlrd
wb = xlrd.open_workbook(file)
df = pd.read_excel(wb)
df.to_hdf(h5_file,'key',format='table')