简体   繁体   English

有没有办法使用 Python 删除 PDF 中的表?

[英]Is there a way of deleting the tables inside a PDF using Python?

Is there a way of deleting the tables inside a PDF using Python?有没有办法使用 Python 删除 PDF 中的表? So far I've been working with pdfplumber to parse through the text within the PDF, and wanted to know is there is a way to ignore or delete the text inside a the tables.到目前为止,我一直在使用pdfplumber来解析 PDF 中的文本,并且想知道是否有一种方法可以忽略或删除表格中的文本。

I would recommend using a Python package called Camelot.我建议使用名为 Camelot 的 Python package。 It is very efficient in extracting tabular data from PDF's.从 PDF 中提取表格数据非常有效。 Here is the link to the documentation .这是文档的链接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM