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.
10 questions · take it digitally for instant feedback at tendril.neural-forge.io/learn/quiz/end-data-jupyter-basics
What is the main idea of "Jupyter Notebook Basics"?
Which concept is most central to "Jupyter Notebook Basics"?
Which use of AI fits this topic best?
Which limitation should you watch for in this topic?
What should a careful learner remember about "The out-of-order bug"?
You want to use AI after this lesson. What is the safest next step?
How should AI output about Jupyter be treated?
Name one way to verify an AI answer about Jupyter.
Which action would help you apply "Jupyter Notebook Basics" responsibly?
Which choice is a bad use of AI for this lesson?