gpt4 book ai didi

python - Camelot 只阅读 pdf 的第一页

转载 作者:行者123 更新时间:2023-12-01 07:39:52 25 4
gpt4 key购买 nike

tables = camelot.read_pdf(r"C:\Users\Ayush ShaZz\Desktop\Code_Python\FoodCaloriesList.pdf")
for table in tables:
print(table.df)

它只读取第一页。请有人帮帮我

最佳答案

如果您想阅读 pdf 中的所有页面,请使用:

camelot.read_pdf('your.pdf', pages='all')

关于python - Camelot 只阅读 pdf 的第一页,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56777241/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com