Im trying to use tabula-py to transfer a table from pdf to excel.
When im trying to
from tabula import read_pdf
it says
ImportError: cannot import name 'read_pdf'
All solutions i found say that i have to
pip uninstall tabula
pip3 install tabula-py
https://github.com/chezou/tabula-py/issues/47
Tabula-py - ImportError: No module named tabula
But its still not working for me.
Any ideas?
from tabula import wrapper
df = wrapper.read_pdf('my_pdf')
read_pdf is contained within 'wrapper'. Hence you import wrapper and call read_pdf from wrapper.