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.

Typo: pandas -> polars (#3434)

John HUb8a04421c8df
diff --git a/docs/guides/working_with_data/dataframes.md b/docs/guides/working_with_data/dataframes.md
index b4fa38dc60..c24d4d3438 100644
--- a/docs/guides/working_with_data/dataframes.md
+++ b/docs/guides/working_with_data/dataframes.md
@@ -116,7 +116,7 @@ transformed_df.value
```python
# Cell 1
import marimo as mo
-import pandas as pl
+import polars as pl
df = pl.DataFrame({"person": ["Alice", "Bob", "Charlie"], "age": [20, 30, 40]})
transformed_df = mo.ui.dataframe(df)
@@ -229,7 +229,7 @@ table.value
```python
# Cell 1 - display a dataframe
import marimo as mo
-import pandas as pl
+import polars as pl
df = pl.DataFrame({"a": [1, 2, 3], "b": [4, 5, 6]})
table = mo.ui.table(df, selection="multi")