Skip to the content.

Back to the previous section

Step 3: Notebooks

This section provides a small introduction on how to use Jupyter Notebooks. If you’re already at ease with Jupyter, you can directly head to the next section.

What’s a notebook?

This is an empty cell:

alt text

And a cell where we have entered some code:

alt text

The Run button on the toolbar:

alt text

Our cell after pressing Run:

alt text

As you can see, you have the result of the code that was run in that cell, as well as information on when this particular cell has been run.

Notebooks are so named because they are just like a physical Notebook: it’s exactly like if you were taking notes about your experiments (which you will do), along with the code itself, including any parameters you set. You see the output of the experiment inline (this is the result from a cell once it’s run), along with all the notes you want to take (to do that, switch the cell type from the menu from Code to Markup).

Time to play

Now that we have covered the basics, just give it a try!

alt text

Now that you’re more familiar with notebooks, you’re ready to go to the next section.