Skip to content

How to pass parameters when removing duplicate elements when extracting the table #378

Answered by jsvine
situchen asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @situchen. I agree with @samkit-jain — it is difficult to answer this question confidently without having more details. But I think you may be looking for this:

original_page = my_pdf.pages[0]
deduped_page = original_page.dedupe_chars()
tables = deduped_page.extract_tables()

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@samkit-jain
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by situchen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants