Lab - Jupyter Notebook - The Basics: Objective
Lab - Jupyter Notebook - The Basics: Objective
Objective
In this hands-on lab you will learn how to create a different markdown cells.
These Jupyter notebooks labs now use the latest environment: JupyterLab, which uses the same .ipynb Jupyter notebook files.
1. In the next section click on Open Tool to access the Skills Network virtual lab environment.
1. In your new empty notebook (from Exercise 1), click within the gray code cell and write some code, like 1 + 1.
2. Execute the code, by either clicking the Play button in the menu above the notebook, or by pressing Shift+Enter on your notebook.
Great! Now you know how to write and run code in Jupyter Notebooks.
1. In your Jupyter notebook, first click on any of the existing cells to select the cell.
2. From the menu, click on Insert, then Insert Cell Above or Insert Cell Below.
3. Great! Now you know how to insert new cells in Jupyter Notebooks. Note you can use the keyboard shortcuts: [a] - Insert a Cell Above;
[b] - Insert a Cell Below.
In your notebook, click on any code cell, and in the drop-down menu in the menu above, change the cell type from Code to Markdown. As you'll
notice, you cannot create Markdown cells without first creating cells and converting them from Code to Markdown.
To render the Markdown text, make sure the cell is selected (by clicking within it), and press Play in the menu, or Shift+Enter.
To edit your Markdown cell, double-click anywhere within the cell. Note you can use the keyboard shortcut: [m] - Convert Cell to Markdown
Please note that practice exercises are not graded, and you do not need submit anything.
Passed 100%
This course uses a third-party tool, Lab - Jupyter Notebook - The Basics, to enhance your learning experience. The tool will reference basic
information like your name, email, and Coursera ID.
Change log
Date Version Changed by Change Description
2020-12-01 2.1 Aije Egwaikhide Updated exercise 1 for accessing SN labs from Coursera
https://cf-courses-data.s3.us.cloud-object-storage.appdomain.cloud/IBMDeveloperSkillsNetwork-DS0105EN-SkillsNetwork/labs/Module2_Coursera/Lab-JupyterNotebook-TheBasics.md.html?or… 1/2
6/4/2021 https://cf-courses-data.s3.us.cloud-object-storage.appdomain.cloud/IBMDeveloperSkillsNetwork-DS0105EN-SkillsNetwork/labs/Module2_Coursera/Lab-JupyterNotebook-TheBasics.…
https://cf-courses-data.s3.us.cloud-object-storage.appdomain.cloud/IBMDeveloperSkillsNetwork-DS0105EN-SkillsNetwork/labs/Module2_Coursera/Lab-JupyterNotebook-TheBasics.md.html?or… 2/2