import pandas

导包后,获取一个DataFrame对象

    df=pd.DataFrame(result_list,columns=['企业','年份','x'])
    df.to_excel("C:\\Users\\path\\Desktop\\Result.xlsx",index=False)

 

相关文章: