0

I have a dataframe from which I want to extract subtables and print them to a pdf. I want to have headers above each one, something like this:

<insert Heading 1>
<insert PDF 1>
<insert Heading 2>
<insert PDF 2>

At the moment I can pull out a table and write it to PDF using matplotlib.backends.backend_pdf.PdfPages and matplotlib.pyplot.

But this only seems to allow one table per figure. Is there a way to format the way achieve the above?

Thanks

ClaudiaR
  • 3,108
  • 2
  • 13
  • 27
  • 1
    Does this help? https://stackoverflow.com/questions/38686926/write-multiple-dataframes-to-same-pdf-file-using-matplotlib – flyakite Oct 11 '22 at 11:35

0 Answers0