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 listhandle_missing()— fill NaN with a visible marker before aggregatinggroup_x()— broadcast a group aggregate back to every row (liketransform)clip()— copy DataFrame to clipboard for pasting into Excel / Sheets
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytae-2.6.6.tar.gz.
File metadata
- Download URL: pytae-2.6.6.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35e4b548028d6107bf4b95000aa33967576a81bed4838d907cbcdbefbe1d27fd
|
|
| MD5 |
5b690f3eec52fc1f8b813ffea431b7b6
|
|
| BLAKE2b-256 |
92b243744f80b65c1b3c7aa0b277a2b551c239927af2cb140599b59fd6775e79
|
File details
Details for the file pytae-2.6.6-py3-none-any.whl.
File metadata
- Download URL: pytae-2.6.6-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9769cc4ac45d0acd4244696d848913ec5209a4d0d91c70bcf05756e4ca206400
|
|
| MD5 |
5cde911d4bcca89ffb3ee069b02e01b2
|
|
| BLAKE2b-256 |
d70455fdffb0a6fbf958d6b669a34a8032adbb5c471a619e8f67edfa62d32024
|