Skip to content

Commit b728db5

Browse files
authored
Merge pull request #9 from fragandi/mlwright
added info about Google Colab This is cool, let me add it!
2 parents 0de1b5a + f1bcef6 commit b728db5

1 file changed

Lines changed: 22 additions & 1 deletion

File tree

source/ch-jupyter.ptx

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,32 @@ sharing with other people.
2424
<p>
2525
Jupyter is a popular open-source tool used in
2626
data science, scientific computing, and computational journalism.
27-
GitHub provides a Codespace ready for running Jupyter notebooks
27+
Various online platforms allow you to create, edit, and share Jupyter notebooks.
28+
If you have a Google account, Google Colab allows you to easily create
29+
Jupyter notebooks that are stored in your Google Drive:
30+
<url href="https://colab.research.google.com/"/>.
31+
Of course, you can also create Jupyter notebooks using GitHub,
32+
which provides a Codespace ready for running Jupyter notebooks
2833
out of the box:
2934
<url href="https://github.com/github/codespaces-jupyter/"/>.
3035
</p>
3136
</section>
37+
<section xml:id="sec-google-colab">
38+
<title>Jupyter Notebooks on Google Colab</title>
39+
<p>
40+
To get started with Google Colab, go to <url href="https://colab.research.google.com/"/>.
41+
You should see a welcome screen that allows you to create a new notebook,
42+
open an example notebook, or load a notebook from Google Drive or GitHub.
43+
</p>
44+
<p>
45+
You may open <url href="https://colab.research.google.com/drive/1xTAUoxWmz1pWdGVuCMP5UYZkN_ASToqr?usp=sharing">this sample notebook</url> in Google Colab.
46+
This notebook provides a Python simulation of the famous <em>birthday problem</em>.
47+
Observe that the notebook contains both Markdown cells and code cells, as described in <xref ref="sec-cells"/>.
48+
To run a code cell, first click in the cell, then either click the "play" symbol at the left of the cell or press SHIFT-ENTER.
49+
The first time you run a code cell, Colab will start a Python runtime environment
50+
(a <em>kernel</em>, as described in <xref ref="sec-jupyter-kernel"/>), which only takes a few seconds to start up.
51+
</p>
52+
</section>
3253
<section xml:id="sec-github-codespaces-jupyter">
3354
<title>GitHub's Jupyter Codespace</title>
3455
<p>

0 commit comments

Comments
 (0)