首页 > 解决方案 > 'TableList' 对象没有属性 'to_excel'

问题描述

tables = camelot.read_pdf(r"C:\Users\Ayush ShaZz\Desktop\Code_Python\FoodCaloriesList.pdf",pages='all',multiple_table='true',flavor='lattice')

tables.to_excel("tableExcel.xlsx")

如何将这些表格保存到 Excel 中?Excel应该像

Table1 <space> Table2 <space>.....

标签: listjupyter-notebook

解决方案


推荐阅读