将Google Colab笔记本转换为PDF/HTML? [英] Convert Google Colab notebook to PDF / HTML?
问题描述
我想知道Google Colab中是否有一种方法可以很好地整理输出,就像R中的Markdown一样,以及如何将IPython Notebook转换为pdf和html格式?
I would like to know if there is a way in Google Colab that can collate outputs nicely, just like Markdown in R and how IPython Notebook can be converted to pdf and html format?
我的输出由多个表,图形等组成.我希望将它们漂亮地打印到一个文件中,其中的一些部分可以显示出来以在报表中使用.如果没有这样的方法,什么是最好的选择?
My output consists of multiple tables, graphs etc. I would like to preferably pretty print them into one file, of which some part are presentable enough to be used in a report.If there's no such method, what is the best alternative?
推荐答案
您可以保存/导出IPython笔记本(菜单: File
/ Download .ipynb
),然后使用Jupyter保存到PDF.
You can save / export an IPython notebook (menu: File
/ Download .ipynb
) and then use Jupyter to save to PDF.
这篇关于将Google Colab笔记本转换为PDF/HTML?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!