The Real Python Podcast

marimo: Reactive Notebooks and Deployable Web Apps in Python

46 snips
Nov 29, 2024
Akshay Agrawal, creator of the innovative marimo notebook, discusses enhancing the Python notebook experience for data scientists. He tackles common issues with traditional notebooks, such as hidden state and reproducibility, proposing a directed acyclic graph (DAG) structure for better organization. Akshay reveals how marimo notebooks are both readable and git-friendly, utilizing PEP 723 for standalone notebooks. He also illuminates their capability to be deployed as interactive web apps, revolutionizing how data scientists collaborate and share their work.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

Early Python Use

  • Akshay Agrawal used Python for side projects during his undergraduate studies, even though the main language taught was Java/C++.
  • One project involved scraping video game reviews from IGN to analyze their historical distribution.
ANECDOTE

Sharing Notebooks With Advisor

  • Akshay's advisor didn't use Python and found IPYNB files difficult to understand.
  • Students would convert notebooks to shareable formats like PDFs with images.
INSIGHT

Notebooks as DAGs

  • Jupyter notebooks have reproducibility issues due to hidden state and out-of-order execution.
  • Representing notebooks as a directed acyclic graph (DAG) solves this by defining clear execution dependencies.
Get the Snipd Podcast app to discover more snips from this episode
Get the app