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
remove to_pandas (#2236)
Akshay Agrawale2e7796c4fb1
diff --git a/examples/third_party/polars/polars_example.py b/examples/third_party/polars/polars_example.pyindex 7fab1a8024..d5ea606b9b 100644--- a/examples/third_party/polars/polars_example.py+++ b/examples/third_party/polars/polars_example.py@@ -1,6 +1,16 @@+# /// script+# requires-python = ">=3.10"+# dependencies = [+# "altair",+# "marimo",+# "numpy",+# "polars",+# ]+# ///+import marimo-__generated_with = "0.1.47"+__generated_with = "0.8.11"app = marimo.App(width="full")@@ -58,7 +68,7 @@ def __(df, mo):@app.celldef __(alt, filtered, mo):_chart = (- alt.Chart(filtered.to_pandas())+ alt.Chart(filtered).mark_circle().encode(x="Attack",