from tabula import read_pdf
报错:ImportError: cannot import name ‘read_pdf’
解决:
pip uninstall tabula
pip3 install tabula-py
import tabula
# Read pdf into DataFrame
df = tabula.read_pdf("./P26.pdf",pages=str(1))
from tabula import wrapper
df = wrapper.read_pdf('my_pdf')
参考:https://stackoverflow.com/questions/47939921/tabula-py-importerror-cannot-import-name-read-pdf