A Python extension for Polars that adds extra data structures and algorithms (e.g., graph, set operations, linear algebra) as expressions and series. Version 0.11.2, released on PyPI, actively maintained with frequent updates.
pip install polars-dsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Compute L1 normalization on column 'a' using polars-ds extended expressions.
Add 'import polars_ds.ext' to your code.
Update to use new expression-based API; refer to migration guide in docs.
Change import to 'import polars_ds.ext as pds'.
Upgrade Polars: pip install 'polars>=0.20.0'
Use: from polars_ds.graph import Graph
Add 'import polars_ds.ext' before using extension expressions.
Either use pds.col('a').l1_normalize() after importing polars_ds.ext, or apply via df.select(pds.col('a').l1_normalize()).Run: pip install polars-ds