Intro to polars
A short demo to introduce the polars dataframe library.
Note
You can also view a static version of this notebook from your browser.
- Clone the repo and move into the folder
git clone https://github.com/rparkr/polars-intro.git
cd polars-intro
-
Create a virtual environment and install requirements. I recommend using uv, but you can also use Python's built-in
venv
module andpip
:Using uv
uv venv uv pip install -e .
Using `venv` and `pip`
python -m venv .venv source .venv/bin/activate pip install -e . # Or: # pip install -r requirements.txt
-
Run the app...
marimo run polars_intro/polars_intro.py
-
Or edit the notebook:
marimo edit polars_intro/polars_intro.py