💾 Archived View for jaeyoung.se › posts › trying-polars captured on 2023-07-10 at 13:20:36. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-03-20)

-=-=-=-=-=-=-

date = 2022-01-11
tags = ["polars", "python"]
title = "Trying Polars"

pandas

is the de facto standard DataFrame manipulation tool in Python.

Natually, I want to be comfortable using it but, I think the sheer girth of its API is proving to be a major obstacle. I can't go for long before I have to search usages on Stackoverflow for what should be routine tasks. I don't think I can ever grok its date time API.

So, I searched for simpler alternative libraries and found

polars

. It is written in Rust and uses the Arrow format for memory model. Its performance benchmarks are impressive, so apparently the newfangled technology stack is pulling its weight.

The API seems still in development and the features are miniscule compared to pandas's, but I appreciate its simplicity.

This notebook

is me trying to use polars for one of the tutorials on

Kaggle Courses.

Comments

Leave a comment