Extract table and output to csv or xlsx in Python

I am trying to take in a PDF and then extract all the tables to a xslx. I am trying to do this in Python and used the sample code but I don’t want to print all the text but rather get each table and export it.

import aspose.pdf as pdf
pdfDocument = pdf.Document("table.pdf")
tableAbsorber = pdf.text.TableAbsorber()
tableAbsorber.visit(pdfDocument.pages[1])
absorbedTable = tableAbsorber.table_list[0]

What’s my next step?

@taykx03

Regretfully, this feature is yet to be investigated. Can you please share your sample PDF with us so that we can log an investigation ticket and share the ID with you.