1, PDF转csv import tabula from tabula import read_pdf from tabulate import tabulate import pandas as pd import io 一般情况下,PDF中的表格指的是非图片格式的PDF,否则无法识别 tabula.convert_into('pdf路径.pdf', '输出表名称.csv', output_format="csv"