filmov
tv
Google Colab - Exporting to a PDF Format!
![preview_player](https://i.ytimg.com/vi/-Ti9Mm21uVc/maxresdefault.jpg)
Показать описание
Brief tutorial on exporting a Google Colab Notebook to a PDF File using nbconvert. The video goes through two methods: exporting to HTML then to PDF format and exporting directly to PDF format. The code for each can be found below.
Method 1:
!jupyter nbconvert --to html /content/KNN.ipynb
Method 2:
!sudo apt-get install texlive-xetex texlive-fonts-recommended texlive-plain-generic
!jupyter nbconvert --to pdf /content/KNN.ipynb
The notebook can be found in the "Google Colab Tutorials" folder within the below repo.
CONNECT:
|-Video Chapters-|
0:00 - Intro
0:13 - Issue with printing notebook to PDF
0:46 - nbconvert package
1:07 - Uploading file to content folder
1:24 - Method 1: Converting the notebook to HTML then printing to PDF format
3:31 - Method 2: Directly converting the notebook to PDF format
5:33 - References
Method 1:
!jupyter nbconvert --to html /content/KNN.ipynb
Method 2:
!sudo apt-get install texlive-xetex texlive-fonts-recommended texlive-plain-generic
!jupyter nbconvert --to pdf /content/KNN.ipynb
The notebook can be found in the "Google Colab Tutorials" folder within the below repo.
CONNECT:
|-Video Chapters-|
0:00 - Intro
0:13 - Issue with printing notebook to PDF
0:46 - nbconvert package
1:07 - Uploading file to content folder
1:24 - Method 1: Converting the notebook to HTML then printing to PDF format
3:31 - Method 2: Directly converting the notebook to PDF format
5:33 - References
Комментарии