Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

1.9 KB
Raw Blame
{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "Hbol",
   "metadata": {},
   "outputs": [
    {
     "ename": "cycle",
     "evalue": "This cell is in a cycle",
     "output_type": "error",
     "traceback": []
    }
   ],
   "source": [
    "x = y"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "MJUe",
   "metadata": {},
   "outputs": [],
   "source": [
    "Y = 0  # noqa: N806"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "vblA",
   "metadata": {},
   "outputs": [
    {
     "ename": "Ancestor raised",
     "evalue": "An ancestor raised an exception (ZeroDivisionError)",
     "output_type": "error",
     "traceback": []
    }
   ],
   "source": [
    "Z = z  # noqa: N806"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "bkHC",
   "metadata": {},
   "outputs": [
    {
     "ename": "ZeroDivisionError",
     "evalue": "division by zero",
     "output_type": "error",
     "traceback": [
      "Traceback (most recent call last):",
      "  File \"\", line 1, in <module>",
      "    z = 1 / 0",
      "        ~~^~~",
      "ZeroDivisionError: division by zero",
      ""
     ]
    }
   ],
   "source": [
    "z = 1 / 0"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "lEQa",
   "metadata": {},
   "outputs": [
    {
     "ename": "cycle",
     "evalue": "This cell is in a cycle",
     "output_type": "error",
     "traceback": []
    }
   ],
   "source": [
    "y = x\n",
    "y = Y  # noqa: F841"
   ]
  }
 ],
 "metadata": {
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3"
  },
  "marimo": {
   "marimo_version": "0.0.0"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}