Skip to main content

Polars-pc

Registers pyarrow-compute functions to expressions namespace under "pc". This isn't a rust port, it just calls them as they are with map_batches. All the methods that only have a single input are dynamically loaded. For instance:

df.with_columns(c=pl.col('a').pc.cumulative_sum())

Methods which take two inputs are statically loaded, right now only index_in is loaded and that works like

df.with_columns(c=pl.col('a').pc.index_in('b'))

Install

pip install polars-pc

Usage

import polars_pc
import polars as pl
df=pl.DataFrame({
    'a':[1,2,2,3,4],
    'b':[1,1,1,3,3]
})
df.with_columns(c=pl.col('a').pc.cumulative_sum())
df.with_columns(c=pl.col('a').pc.index_in('b'))

Metadata

Release files for polars-pc 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for polars-pc 0.0.2
File Size Uploaded Provenance Actions
polars_pc-0.0.2.tar.gz 3.1 kB Without provenance Details for polars_pc-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for polars-pc 0.0.2
File Interpreter ABI Platform Actions
polars_pc-0.0.2-py3-none-any.whl Python 3 none any Details for polars_pc-0.0.2-py3-none-any.whl

Total release size: 6.6 kB

Release files / polars_pc-0.0.2.tar.gz

Download URL polars_pc-0.0.2.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
dc7e618e1c099805661220a4dd0c4340182abb5e912b97cf69eb21d2155f77ec
BLAKE2b-256 checksum
How to use checksums
0ea1edac7410ac960b80676607c928450ab6af60fa92f5a38a5e67b4639d736e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / polars_pc-0.0.2-py3-none-any.whl

Download URL polars_pc-0.0.2-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fec122ec8a8d6756505c7682f5f4284f4344e6ada83ccb051af16a0d7265d97e
BLAKE2b-256 checksum
How to use checksums
574f5680afbebae90dc8afb4abfcefffa96aae83a704ebaf4247f71829b5ef42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Security for polars-pc 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page