how too extract the table name with the specified table #928
Pranavagrl1
started this conversation in
Ask for help with specific PDFs
Replies: 1 comment 4 replies
-
Hi @Pranavagrl1 If you can share the actual page in PDF form it makes it easier to help. Perhaps you could search for the last line of text that appears before the table: table = page.find_tables()[0]
for line in page.extract_text_lines():
if line['top'] > table.bbox[1]:
break
previous_line = line
print(previous_line['text']) |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For Example:
I have shared a image from the pdf i want to extract the table as well as the heading of that table only how can i do it.Is there any possible answer related to that.
Beta Was this translation helpful? Give feedback.
All reactions