How to return positions and data frames together in tabula.read_pdf? For one page, I have to run 2 lines of codes (hence time-consuming):
df_list=tabula.read_pdf(file,stream=True,guess=True,lattice=False,multiple_tables=True,pandas_options={'header':None},pages=pg_num)
loc_list = tabula.read_pdf(file, output_format="json", pages=pg_num)