Remix.run Logo
▲ esco2292 7 hours ago

Polars is effectively a full replacement for Pandas for 99.9% of all cases. The only exception I'm really aware of is if you're working with geospatial data, as there isn't yet a "Geopolars" equivalent of the commonly used "Geopandas". However, Geopolars is still in active development and should eventually be production ready.

▲pattar 2 hours ago | parent | next [-]

There is a geospatial package for duckdb though which is pretty slick. It is actually how I first learned of duckdb. We were dealing with nationwide parcel datasets and need to apply transformations nationwide and save out to more parquet files. It was easier and cheaper to replace all of the pandas workloads with duckdb.

▲adeptima 7 hours ago | parent | prev [-]

it’s on the correct path. i use rust for geo spatial and the gap with c, c++ closing rapidly or negligible in most cases

from https://github.com/pola-rs/geopolars/tree/main

Comparison with GeoPandas

Imitation is the sincerest form of flattery! GeoPandas — and its underlying libraries of shapely and GEOS — is an incredible production-ready tool.

GeoPolars is nowhere near the functionality or stability of GeoPandas, but competition is good and, due to its pure-Rust core, GeoPolars will be much easier to use in WebAssembly.

▲ritchie46 6 hours ago | parent [-]

Note that (for the time being), we started geopolars developement under: https://github.com/pola-rs/geopolars/tree/dev

▲benrutter 4 hours ago | parent [-]

> Note that (for the time being), we started geopolars developement under: https://github.com/pola-rs/geopolars/tree/dev

This is awesome!! I'd looked at the project only a month or so and it appeared abandoned, but I must have missed the off-main-branch development going on!