jsvine / pdfplumber

Plumb a PDF for detailed information about each char, rectangle, line, et cetera — and easily extract text and tables.
MIT License
6.1k stars 625 forks source link

Add `Page.find_table(...)` #873

Closed jsvine closed 1 year ago

jsvine commented 1 year ago

Right now, pdfplumber.Page has these table-getting methods:

For consistency/completeness's sake, seems like we should add:

... which would, analogous to .extract_table(...), just return the largest table on the page.

It would also solve @pdille's query in https://github.com/jsvine/pdfplumber/discussions/864#discussioncomment-5668209.

jsvine commented 1 year ago

Feature now available in v0.10.0