Jupyter Notebook
Overview
This guide is tailored for new users launching a Jupyter Notebook from instances. If you’ve never used a Jupyter Notebook before—we’ll walk you through every step.
What is Jupyter Notebook?
Jupyter Notebook is an interactive coding tool that lets you:
Write and execute code one step at a time (in “cells”).
Document your process with text, images, and graphs in the same file.
Visualize results dynamically, such as charts or model outputs.
Experiment and iterate on your projects without running a full script all at once.
Collaborate and exchange ideas with others.
Understanding the Jupyter Interface
The Launch Jupyter Notebook button on your instance details page gives you instant access to the Jupyter interface hosted on your instance.
Navigate to My Instances and click the Launch Jupyter Notebook button.
Clicking the button will open the Jupyter Notebook interface in your browser.
Once the Jupyter Notebook interface loads, you’ll see two main sections, which are the File Browser and the Launcher.
File Browser: Shows files and folders on your instance.
Launcher: A dashboard to create notebooks, open consoles, or access other tools.
How to Use Jupyter Notebook
Running Your First Code
Open a new Python notebook by clicking Python 3 in the Launcher.
A new tab will open with a blank notebook.
Write your code in the first cell (
print("Hello, world!")
).Press Shift + Enter to execute the cell. The output will appear below it.
1
print("Hello, world!")
Hello, world!
Adding Text or Explanations
Create a new notebook (File > New > Notebook).
Add context to your code by inserting text cells:
Click
+
in the toolbar to add a new cell.Change the cell type to Markdown from the dropdown menu.
Write text or explanations using plain text or Markdown syntax.
Execute the cell (Shift + Enter) to render the text.
Visualizing Data
Jupyter Notebooks support graphs and charts using Python libraries like Matplotlib and Seaborn.
Resources
For additional information, please visit the official documentation site for the Jupyter Notebook here.
Last updated