Skip to main content

Menu

LEVEL 0
0/5 XP
HomeAboutTopicsPricingMy VaultStatsPractice TestsCertifications

Categories

🎓 Certifications
🤖 Artificial Intelligence
☁️ Cloud and Infrastructure
💾 Data and Databases
💼 Professional Skills
🎯 Programming and Development
🔒 Security and Networking
📚 Specialized Topics
CheatGrid
HomeAboutTopicsPricingMy VaultStatsPractice TestsCertifications
LVLEVEL 0
0/5 XP
GitHub
© 2026 CheatGrid™. All rights reserved.
Privacy PolicyTerms of UseAboutContact

Jupyter and JupyterLab Cheat Sheet

Jupyter and JupyterLab Cheat Sheet

Back to Data Science
Updated 2026-05-15
Next Topic: Matplotlib Cheat Sheet

Jupyter Notebook and its successor JupyterLab are interactive computing environments that combine live code, visualizations, and narrative text in a single document, widely adopted across data science, scientific research, and machine learning workflows. The Jupyter ecosystem extends beyond basic notebooks through IPython's magic commands, kernel management, rich display objects, interactive widgets, and extensibility via nbformat, papermill, nbconvert, jupytext, and Voilà. Understanding Jupyter means mastering two distinct interaction modes (command and edit), cell execution semantics (order matters more than position), and the distinction between the notebook interface and the underlying IPython kernel that executes code and maintains state across cells.

What This Cheat Sheet Covers

This topic spans 20 focused tables and 174 indexed concepts. Below is a complete table-by-table outline of this topic, spanning foundational concepts through advanced details.

Table 1: Cell TypesTable 2: Keyboard Shortcuts — Command ModeTable 3: Keyboard Shortcuts — Edit ModeTable 4: Keyboard Shortcuts — JupyterLab SpecificTable 5: Line Magic Commands (% prefix)Table 6: Cell Magic Commands (%% prefix)Table 7: IPython Display ObjectsTable 8: Jupyter Widgets (ipywidgets)Table 9: Kernel ManagementTable 10: JupyterLab Interface FeaturesTable 11: nbformat and Notebook StructureTable 12: papermill — Parameterized ExecutionTable 13: nbconvert — Export FormatsTable 14: Jupytext — Git-Friendly NotebooksTable 15: Voilà — Dashboards from NotebooksTable 16: Cell Execution PatternsTable 17: Debugging and IntrospectionTable 18: Markdown FeaturesTable 19: Shell CommandsTable 20: Autosave and Checkpoints

Table 1: Cell Types

Every notebook is built from three kinds of cells, and knowing which to reach for shapes how the document reads and runs. Code cells execute and carry state; Markdown cells hold the narrative and math; raw cells pass straight through to whatever export format you target.

TypeExampleDescription
Code cell
x = 42
print(x)
• Executable Python (or other kernel language) that produces numbered outputs
• execution order tracked by In [N] label
• state persists across cells
Markdown cell
# Heading
**bold** text
$E=mc^2$
• Rich text with headers, lists, LaTeX math using $ $ for inline or $$ $$ for display equations, images, and HTML
• renders when executed

More in Data Science

  • Gradio ML Demo and App Framework Cheat Sheet
  • Matplotlib Cheat Sheet
  • AB Testing and Online Experimentation Cheat Sheet
  • Design of Experiments (DOE) Cheat Sheet
  • OpenRefine Cheat Sheet
  • SciPy Cheat Sheet
View all 47 topics in Data Science