Skip to main content

A package to enhance common day to day tasks in the life of a data scientist

Project description

pytae

pytae is a lightweight Python package that makes everyday data science tasks faster and more readable — think SAS-style chaining on top of pandas.

Installation

pip install pytae

Requires Python ≥ 3.7, pandas ≥ 1.0.0

Features

Six feature sets, each with a companion reference notebook:

1) Plotting — Plotter

Lightweight plotting built on top of pandas.plot, fully compatible with matplotlib and ability to method chain plots. plotter.ipynb

2) Filtering — qry()

Dict based filtering making it more versatile. qry.ipynb

3) Selection — select()

R like select but on steroid. select.ipynb

4) Reshaping — long(), wide()

long() melts all numeric columns to rows. wide() pivots a column's values into headers. shape.ipynb

5) Aggregation — agg_df()

Auto-detects group columns (non-numeric) and aggregates the rest. Supports str, list, and dict aggfunc. n is a special token for group count. agg_df.ipynb

6) Utilities — clip(), handle_missing(), cols(), group_x()

  • cols() — sorted column list
  • handle_missing() — fill NaN with a visible marker before aggregating
  • group_x() — broadcast a group aggregate back to every row (like transform)
  • clip() — copy DataFrame to clipboard for pasting into Excel / Sheets

other_utilities.ipynb

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

pytae-2.6.4.tar.gz (1.8 MB view details)

Uploaded Source

Built Distribution

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

pytae-2.6.4-py3-none-any.whl (1.6 MB view details)

Uploaded Python 3

File details

Details for the file pytae-2.6.4.tar.gz.

File metadata

  • Download URL: pytae-2.6.4.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pytae-2.6.4.tar.gz
Algorithm Hash digest
SHA256 884e42257244f4748bdb7b97229c35557c77d5f745280293106cd87fb0228f90
MD5 2d015dd5168602f6c2e1daba85091fba
BLAKE2b-256 b2ef5b587a036f959904a9761e39f65604748b3bf87adf04952474117d1f730c

See more details on using hashes here.

File details

Details for the file pytae-2.6.4-py3-none-any.whl.

File metadata

  • Download URL: pytae-2.6.4-py3-none-any.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pytae-2.6.4-py3-none-any.whl
Algorithm Hash digest
SHA256 491cb0a66d21b3ed6fd1934fb2e5b0bdee07a37e8847955b598d621d579d45e4
MD5 8efcb8872862e1de25e257ad1c3e8e8b
BLAKE2b-256 7f1f9bf3cd6c3394c2b1e79238bbab1a989d8c553aa3357d57520280b3a37896

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