Optimised tools for group-indexing operations: aggregated sum and more.
Project description
This package consists of a couple of optimised tools for doing things that can roughly be considered “group-indexing operations”. The most prominent tool is aggregate.
aggregate takes an array of values, and an array giving the group number for each of those values. It then returns the sum (or mean, or std, or any, …etc.) of the values in each group. You have probably come across this idea before, using matlab accumarray, pandas groupby, or generally MapReduce algorithms and histograms.
There are different implementations of aggregate provided, based on plain numpy, numba and weave. Performance is a main concern, and so far we comfortably beat similar implementations in other packages (check the benchmarks).
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 numpy_groupies-0.9.15.tar.gz.
File metadata
- Download URL: numpy_groupies-0.9.15.tar.gz
- Upload date:
- Size: 208.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5263345c8b5143090383164496fc85b6420eb621a6a0a27e94c6a30255f78373
|
|
| MD5 |
dab73aac8b99c79c9cf99163db36e440
|
|
| BLAKE2b-256 |
bf62825d9c1315768808d9ed8f5f3fff94dcb574578ff3cfb7b8488e5bbb0928
|
File details
Details for the file numpy_groupies-0.9.15-py3-none-any.whl.
File metadata
- Download URL: numpy_groupies-0.9.15-py3-none-any.whl
- Upload date:
- Size: 25.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c33bd6b2a06c14232314a261a53ed6361eb438b13e94e4f8e1dd1e822c8e0be
|
|
| MD5 |
1f49abb7fb1faacb2e68b79bd9a67f2c
|
|
| BLAKE2b-256 |
09e778c7c3dd7ac648aadf438c288c99eda03b5c883f368939386cb1828e3eb4
|