I'm using
jupyter nbconvert --to pdf --TemplateExporter.exclude_input=True Scorecard.ipynb
to export my notebook to a pdf. Everything runs fine, but when looking in the pdf the dataframes are shown as
<pandas.io.formats.style.Styler at 0x1ea7d7910f0>
rather than the nicely colored dataframes in the notebook. Any ideas on how to fix?
Using nbconvert to send to html then using pdfkit to convert works (kind of) The issue with that is the header overlaps the rows if the table spans multiple pages and the rows are split in half if they're at the end of apage