I have a PDF file containing a table, the format is like this:

![pdf img](https://i.imgur.com/sPwpPEa.png)

Now;I need to extract the data from specific columns from each row to insert in a database.
How can I extract the columns I want only with either javascript or python?

I already tried the manual way but that is not sufficient. 

I expect to get the raw data put in a variable (array or list).

==========================================
UPDATE:

I decided to go with python, the library's name is tabula; I installed it using pip:

```
pip install tabula-py

```

You pass the pdf to the library and specify the page of the table. The output of the table in my question looks magically like this:

[![enter image description here](https://i.stack.imgur.com/VcXHx.png)](https://i.stack.imgur.com/VcXHx.png)