Skip to main content

pandas backend adapter for PlanFrame.

Project description

planframe-pandas

Docs PyPI License: MIT

pandas adapter package for PlanFrame. Import as planframe_pandas.

Documentation (ReadTheDocs):

  • pandas track (end users): https://planframe.readthedocs.io/en/latest/planframe_pandas/
  • Light API reference: https://planframe.readthedocs.io/en/latest/planframe_pandas/reference/api/

Notes

  • PlanFrame is always lazy: chaining does not touch backend data; execution happens at collect() boundaries.

Common transforms

  • with_row_count(name="row_nr", offset=0): add a monotonically increasing row number column.
  • clip(lower=..., upper=..., subset=...): clamp numeric columns (if subset=None, clamps all numeric schema fields).
  • cast_many / cast_subset: multi-column cast helpers.
  • fill_null_many / fill_null_subset: multi-column fill-null helpers.
  • rename_upper/lower/title/strip(...): schema-driven rename helpers.
  • pivot_longer(...) / pivot_wider(...): reshape convenience wrappers around melt / pivot.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

planframe_pandas-0.5.0.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

planframe_pandas-0.5.0-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file planframe_pandas-0.5.0.tar.gz.

File metadata

  • Download URL: planframe_pandas-0.5.0.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for planframe_pandas-0.5.0.tar.gz
Algorithm Hash digest
SHA256 fa1fd720fd1d49ad853b900ab7c0db448c9a35ee33ea97d29c6e85ac7bec8049
MD5 8f06d2235eff3a5cdc712954aee74898
BLAKE2b-256 7e123b9d46c5407b6f99c86517af25402cb2cdaf08623601b45047f106d5a237

See more details on using hashes here.

File details

Details for the file planframe_pandas-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for planframe_pandas-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 07e78806775829c5c53f507d9a6df1346ee96bc1e5f4981fa6e1cf5f86a3d3ce
MD5 cd46fb21b1e9b91d5ed4233dc98cb5cc
BLAKE2b-256 e3b83c5f98cabdb4f62b67e959f91eae291ef0c86b32a5037d34b71329b2f283

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page