US Trends

what are jupyter notebooks

Quick Scoop

Jupyter notebooks are interactive web-based documents where you can mix code, text, equations, and visual outputs in one place. They are widely used for data analysis, machine learning, teaching, and sharing reproducible workflows.

What they are

A notebook is usually saved as an .ipynb file and is built from separate cells, such as code cells and markdown text cells. Code runs through a connected kernel , and outputs like charts or tables appear right under the code.

Why people use them

  • Exploration: Try code, see results immediately, and adjust quickly.
  • Documentation: Explain your thinking with notes and headings alongside code.
  • Sharing: Others can open the notebook and follow the analysis more easily.

Simple example

A data scientist might use one notebook to:

  1. Load a CSV file.
  2. Clean the data.
  3. Plot a chart.
  4. Write notes about what the chart means.

In plain English

Think of a Jupyter notebook like a digital lab notebook for coding: part notebook, part code editor, part report.

If you want, I can also show you a tiny example notebook layout or explain how it compares with regular Python scripts.