I need to convert page 24 of the pdf downloaded from here https://www.wipo.int/edocs/pubdocs/en/wipo_pub_gii_2021.pdf into a dataframe. I used the following code to read the pdf and having trouble converting it into a dataframe. What would be the way to do it?
import PyPDF2
import tabula
import pandas as pd
import numpy as np
file = open(r"C:\Users\smx\python\wipo_pub_gii_2021.pdf", 'rb')
pdfReader = PyPDF2.PdfFileReader(file)
pageObj = pdfReader.getPage(23) #somehow it I have to use 23 instead of 24 to get the right info
print(pageObj.extractText())