Camelot is reading only the first page of the pdf

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

Its reading only the first page. Someone please help me out

2 Answers

If you want to read all the pages in a pdf then use:

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