Goals:
Introduce what Jupyter is and why it’s useful
Differentiate between Jupyter Notebooks and Jupyter Labs and when to use each
Identify cell types in a notebook and how they’re used
What to watch out for
What is Jupyter?
Jupyter, formerly known as an ipython notebook, is a popular tool used in data science and data analysis.
An open-source, browser-based, web application with a wide variety of functions
Allows users to create and share computational documents, called notebooks.
Notebooks facilitate the development of live code that can then be run in a number of different coding languages.
Code can be run step by step in “chunks” called cells.
Users can combine live code cells with other cells - Markdown text, images, plots, and other rich media in a single interactive canvas.
Can produce a wide variety of interactive output including HTML, videos, LaTeX, and custom MIME types.
Can be shared through e-mail, GitHub, or other cloud storage and sharing services.
Easily exported to other formats like, books, slides, web apps, static web pages, or PDF documents.
We see this tool used for a number of things:
To organize work and display the thought process or logic associated with a project
Collaboration
As an IDE (Integrated Development Environment)
Easy to look at or run code line-by-line to simplify debugging
For teaching
Displaying and manipulating data frames
Requires a kernel to launch
Jupyter Notebooks
|
---|
Notebook cell types
By default, there are 4 types of Notebook cells:
Markdown
Code
NBConvert
Heading
Jupyter Labs
|