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.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
Add pygwalker example (#2800)
Akshay Agrawal595fd1f9561f
diff --git a/examples/third_party/pygwalker/example.py b/examples/third_party/pygwalker/example.pynew file mode 100644index 0000000000..30cd2485b6--- /dev/null+++ b/examples/third_party/pygwalker/example.py@@ -0,0 +1,31 @@+# /// script+# requires-python = ">=3.10"+# dependencies = [+# "pygwalker==0.4.9.13",+# "vega-datasets==0.9.0",+# ]+# ///+import marimo++__generated_with = "0.9.14"+app = marimo.App(width="medium")+++def __():+ import pygwalker as pyg++ from vega_datasets import data+ return data, pyg+++def __(data, pyg):+ df = data.iris()++ pyg.walk(df)+ return (df,)+++if __name__ == "__main__":+ app.run()