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.

Document how to restart the kernel

Akshay Agrawal7029e099dab5
diff --git a/docs/faq.md b/docs/faq.md
index 371827fe83..943251cde8 100644
--- a/docs/faq.md
+++ b/docs/faq.md
@@ -17,6 +17,7 @@
- [How do I display objects in rows and columns?](#faq-rows-columns)
- [How do I create an output with a dynamic number of UI elements?](#faq-dynamic-ui-elements)
- [Why aren't my `on_change` handlers being called?](#faq-on-change-called)
+ - [How do I restart a notebook?](#faq-restart)
- [How do I reload modules?](#faq-reload)
- [How does marimo treat type annotations?](#faq-annotations)
- [What packages can I use?](#faq-packages)
@@ -239,6 +240,12 @@ use [`mo.ui.array`](/api/inputs/array.md#marimo.ui.array) or
For usage examples, see the
[recipes for grouping UI elements together](/recipes.md#grouping-ui-elements-together).
+<a name="faq-restart" ></a>
+**How do I restart a notebook?**
+
+To clear all program memory and restart the notebook from scratch, refresh
+the browser page.
+
<a name="faq-reload" ></a>
**How do I reload modules?**