Loading lesson…
Jupyter is the data scientist's notebook. Code, output, and narrative in one document. Learning Jupyter well pays dividends for every future project.
A Jupyter notebook is a browser-based editor where you mix code cells, markdown cells, and their outputs in one file. Run a cell, see the result right below, write an explanation, continue. It is the default tool for data science because it fits how exploration actually works.
# Install
pip install jupyterlab pandas matplotlib
# Launch
jupyter lab
# Or use cloud versions
# - Google Colab (colab.research.google.com)
# - Kaggle Notebooks
# - Hugging Face Spaces with Jupyter
# - GitHub CodespacesFour ways to get a Jupyter environmentA kernel is the running Python (or other) process that executes your cells. Variables persist across cells because they live in the kernel. This is why the order you run cells matters more than the order they appear in the notebook.
# Time a cell
%%time
expensive_function()
# Inline plots
%matplotlib inline
# Run shell commands
!pip install seaborn
!ls -lh data/
# Inspect a variable
?pd.read_csv # shows docstringJupyter magic commandsThe big idea: Jupyter is exploration married to narration. Treat your notebook as a story, not just a scratch pad, and your future self (and collaborators) will thank you.
15 questions · take it digitally for instant feedback at tendril.neural-forge.io/learn/quiz/end-data-jupyter-basics
What is the core idea behind "Jupyter Notebook Basics"?
Which term best describes a foundational idea in "Jupyter Notebook Basics"?
A learner studying Jupyter Notebook Basics would need to understand which concept?
Which of these is directly relevant to Jupyter Notebook Basics?
Which of the following is a key point about Jupyter Notebook Basics?
What is one important takeaway from studying Jupyter Notebook Basics?
Which of these does NOT belong in a discussion of Jupyter Notebook Basics?
Which of these correctly reflects a principle in Jupyter Notebook Basics?
Which of these does NOT belong in a discussion of Jupyter Notebook Basics?
What is the key insight about "The out-of-order bug" in the context of Jupyter Notebook Basics?
What is the recommended tip about "Ground your practice in fundamentals" in the context of Jupyter Notebook Basics?
Which statement accurately describes an aspect of Jupyter Notebook Basics?
What does working with Jupyter Notebook Basics typically involve?
Which of the following is true about Jupyter Notebook Basics?
Which best describes the scope of "Jupyter Notebook Basics"?