赞
踩
numb_list = {
‘ID’:[1,2,3,4],
‘name’:[‘苏凉’,‘jake’,‘佚名’,‘Tom’],
‘age’:[22,18,25,16],
‘QQ_num’:[787991021,2544722208,12545654,58456]
}
df = pd.DataFrame(numb_list)
df.to_excel(‘D:/Temp01/test.xlsx’)
print(‘创建成功!!’)
运行结果:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。