Pls how do I read data from a table(in pdf format) using python | Sololearn: Learn to code for FREE!

0

Pls how do I read data from a table(in pdf format) using python

I have a pdf file with a table with rows and columns. I want to extract the data from the table. For example: All the data in column one or row one. Also I want to map the data in something like a dictionary. For example; MyDict = {row 1col1:row1col2, row2col1:row2col2}

7/24/2021 11:58:50 PM

Nwalozie Elijah

10 Answers

New Answer

+3

https://colab.research.google.com/github/chezou/tabula-py/blob/master/examples/tabula_example.ipynb here is a colab notebook for it.

+2

try tabula-py u will need java runtime but... it is amazing

+1

https://stackoverflow.com/questions/45795089/how-can-i-read-pdf-in-python

+1

Thanks Slick This was helpful

+1

Thanks man🙇

0

Upvoting your own question just makes you look pathetic.

0

Simon Sauter Okay Thanks. So pls do you have the solution?

0

Oma Falk Thanks. tabular-py is an inbuilt module?

-1

Simon Sauter Okay No problem. Hopefully someone else will help me.

-3

I don't answer questions by people who upvote their own questions.