python-polars-the-definitive-guide
Scripts and datasets for the O'Reilly book Python Polars: The Definitive Guide
File Explorer
Download Latest Version (.zip)- datatypes.png
- def.png
- formats-table.png
- jeroen.png
- ppdg_0801.png
- ppdg_0901.png
- ppdg_1001.png
- ppdg_1002.png
- ppdg_1101.png
- ppdg_1102.png
- title.png
- yoda.png
- crash-course.ipynb
- data
- lineitem.parquet
- supplier.parquet
- nyc-neighborhoods.geojson
- trips-2024-03-01.parquet
- trips-2024-03-02.parquet
- trips-2024-03-03.parquet
- trips-2024-03-04.parquet
- trips-2024-03-05.parquet
- trips-2024-03-06.parquet
- trips-2024-03-07.parquet
- trips-2024-03-08.parquet
- trips-2024-03-09.parquet
- trips-2024-03-10.parquet
- trips-2024-03-11.parquet
- trips-2024-03-12.parquet
- trips-2024-03-13.parquet
- trips-2024-03-14.parquet
- trips-2024-03-15.parquet
- trips-2024-03-16.parquet
- trips-2024-03-17.parquet
- trips-2024-03-18.parquet
- trips-2024-03-19.parquet
- trips-2024-03-20.parquet
- trips-2024-03-21.parquet
- trips-2024-03-22.parquet
- trips-2024-03-23.parquet
- trips-2024-03-24.parquet
- trips-2024-03-25.parquet
- trips-2024-03-26.parquet
- trips-2024-03-27.parquet
- trips-2024-03-28.parquet
- trips-2024-03-29.parquet
- trips-2024-03-30.parquet
- trips-2024-03-31.parquet
- 1999.csv
- 2000.csv
- 2001.csv
- 2002.csv
- 2003.csv
- 2004.csv
- 2005.csv
- 2006.csv
- 2007.csv
- 2008.csv
- 2009.csv
- 2010.csv
- 2011.csv
- 2012.csv
- 2013.csv
- 2014.csv
- 2015.csv
- 2016.csv
- 2017.csv
- 2018.csv
- 2019.csv
- 2020.csv
- 2021.csv
- 2022.csv
- 2023.csv
- 1999.csv
- 2000.csv
- 2001.csv
- 2002.csv
- 2003.csv
- 2004.csv
- 2005.csv
- 2006.csv
- 2007.csv
- 2008.csv
- 2009.csv
- 2010.csv
- 2011.csv
- 2012.csv
- 2013.csv
- 2014.csv
- 2015.csv
- 2016.csv
- 2017.csv
- 2018.csv
- 2019.csv
- 2020.csv
- 2021.csv
- 2022.csv
- 2023.csv
- 1999.csv
- 2000.csv
- 2001.csv
- 2002.csv
- 2003.csv
- 2004.csv
- 2005.csv
- 2006.csv
- 2007.csv
- 2008.csv
- 2009.csv
- 2010.csv
- 2011.csv
- 2012.csv
- 2013.csv
- 2014.csv
- 2015.csv
- 2016.csv
- 2017.csv
- 2018.csv
- 2019.csv
- 2020.csv
- 2021.csv
- 2022.csv
- 2023.csv
- yellow_tripdata_2022-01.parquet
- yellow_tripdata_2022-02.parquet
- yellow_tripdata_2022-03.parquet
- yellow_tripdata_2022-04.parquet
- yellow_tripdata_2022-05.parquet
- yellow_tripdata_2022-06.parquet
- yellow_tripdata_2022-07.parquet
- yellow_tripdata_2022-08.parquet
- yellow_tripdata_2022-09.parquet
- yellow_tripdata_2022-10.parquet
- yellow_tripdata_2022-11.parquet
- yellow_tripdata_2022-12.parquet
- all_stocks.csv
- animals.csv
- asml.csv
- campaigns.csv
- directors.csv
- fruit.csv
- nvda.csv
- penguins.csv
- pokedex.json
- sakila.db
- sales.csv
- starwars.parquet
- tools.csv
- top2000-2023.xlsx
- transactions.csv
- tsm.csv
- wikimedia.ndjson
- __init__.py
- expressions.rs
- lib.rs
- Cargo.lock
- Cargo.toml
- test.py
- __init__.py
- polars_geo.abi3.so
- expressions.rs
- lib.rs
- Cargo.lock
- Cargo.toml
- rustfmt.toml
- test.py
- .gitignore
- .python-version
- appendix1.ipynb
- ch01.ipynb
- ch02.ipynb
- ch03.ipynb
- ch04.ipynb
- ch05.ipynb
- ch06.ipynb
- ch07.ipynb
- ch08.ipynb
- ch09.ipynb
- ch10.ipynb
- ch11.ipynb
- ch12.ipynb
- ch13.ipynb
- ch14.ipynb
- ch15.ipynb
- ch16.ipynb
- ch17.ipynb
- ch18.ipynb
- LICENSE
- pp-cover-800w.jpg
- pyproject.toml
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/jeroenjanssens/python-polars-the-definitive-guide
Downloads the entire project code from GitHub to your computer.
cd python-polars-the-definitive-guide
Moves into the project folder you just downloaded.
2. Python
Easy RecommendedPrerequisites
pip install .
Installs the package published on PyPI directly β no need to clone the source.
jupyter notebook
Launches Jupyter in your browser so you can open and run the notebook (.ipynb) files.
If it runs without errors and prints output in the terminal, it worked.
3. Rust
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Rust (rustup) Installing via rustup also installs cargo.
β οΈ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
cd plugins/hello_world_plugin
This project's files live in a subfolder, so move into it first.
cargo build --release
Compiles the Rust project.
cargo run
Builds and then immediately runs the program.
If cargo build finishes without errors, it worked. The executable is created under target/.
// repository documentation
Was this content helpful?
(0 ratings)
