I am trying to use Tabula-py to read a pdf. I installed tabula-py through pip install tabula-py
pip install tabula-py
I have also installed the required dependencies
use this
import camelot tables = camelot.read_pdf('foo.pdf') tables.export('foo.csv', f='csv', compress=True)