【发布时间】:2019-12-22 04:53:13
【问题描述】:
我正在使用
jupyter nbconvert --to pdf --TemplateExporter.exclude_input=True Scorecard.ipynb
将我的笔记本导出为 pdf。一切运行良好,但在查看 pdf 时,数据框显示为
<pandas.io.formats.style.Styler at 0x1ea7d7910f0>
而不是笔记本中颜色漂亮的数据框。关于如何解决的任何想法?
使用 nbconvert 发送到 html,然后使用 pdfkit 转换作品(有点)如果表格跨越多个页面,标题会与行重叠,如果行在末尾,则行被分成两半页面
【问题讨论】: