'Tabula can't read all pages of pdf

I am using tabula to read pdf. It runs fine but I notice that some pages are not read and missing from the output.

The pdf has 29 pages including the following data: Col1 Col2 Col3 01A * Gross receipts or sales 06 * Net gain/loss from 4797 ...

My code is: import tabula import pandas as pd tabula.convert_into('filename.pdf','filename.csv',output_format='csv',pages='all') df=pd.read_csv('filename.csv')

Only about 5 pages of data are converted into csv file and the rest is not in the csv output file. How could I convert all pages?

Thank you for any ideas!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source