📅  最后修改于: 2022-03-11 14:46:05.623000             🧑  作者: Mango
#!pip install tabula-py
import tabula
#read all table data
df = tabula.read_pdf("sample.pdf",pages=[1,2])
df[1]
#tabula.convert_into("sample.pdf", "sample.csv", output_format="csv")