Free — no signup required

Introduction: REPL on Steroids

2 min read

The Lab Notebook

In a traditional chemistry lab, you write down your hypothesis, your experiment steps, and your observations in a notebook. You record what you tried, what happened, and what you concluded — all in one place. Jupyter Notebooks are the digital equivalent for data work. They allow you to combine:

  1. Live Code: Executable Python (or R, Julia, Bash, and others).
  2. Visualizations: Charts and graphs generated inline, right below the code that produced them.
  3. Narrative Text: Markdown prose explaining why you did what you did, not just what you did.

This combination makes notebooks the industry standard for data science, exploratory analysis, and sharing results. A notebook is not just a script — it is a reproducible story told with data, code, and explanation woven together.

Jupyter vs. Colab

These two tools share the same notebook format (.ipynb files) but differ in where and how they run:

  • JupyterLab / Jupyter Notebook: Open-source software you install and run locally on your own machine. You manage the environment yourself using tools like Anaconda or pip. You have full control over packages, file system access, and compute resources — but setup is your responsibility.
  • Google Colab: A hosted notebook environment running in Google's cloud. It requires zero local setup, runs entirely in your browser, and provides free access to GPUs and TPUs — hardware that would otherwise cost hundreds of dollars per hour. The trade-off is that your session resets after inactivity, and you have less control over the underlying environment.

For learning and experimentation, Colab removes all friction. For production pipelines and sensitive data, local or self-hosted Jupyter is preferred.

This is one of 18 chapters

Every chapter is free — Kubernetes, Terraform, SRE, distributed systems, and more — with fast daily review built in.

Sign up free