Skip to main content

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


Download files

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

Source Distribution

numpy_groupies-0.9.20.tar.gz (52.7 kB view details)

Uploaded Source

Built Distribution

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

numpy_groupies-0.9.20-py3-none-any.whl (25.4 kB view details)

Uploaded Python 3

File details

Details for the file numpy_groupies-0.9.20.tar.gz.

File metadata

  • Download URL: numpy_groupies-0.9.20.tar.gz
  • Upload date:
  • Size: 52.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for numpy_groupies-0.9.20.tar.gz
Algorithm Hash digest
SHA256 923a382d6bc6876384b58a9c0503b05b9d36a660f329695c2d33e4f93fcbbe3d
MD5 e7a670035289aef38643eee3d04adf98
BLAKE2b-256 9db7859669e07c37a6217b795dbae8bc580c03e13296a22e85d6f1fc7da5be00

See more details on using hashes here.

File details

Details for the file numpy_groupies-0.9.20-py3-none-any.whl.

File metadata

File hashes

Hashes for numpy_groupies-0.9.20-py3-none-any.whl
Algorithm Hash digest
SHA256 43c29c8f9fff5e2449a356c352bec0a5bb1a229c4e5b3281641ab04f9b864e8e
MD5 80ccf472eccf862bc5ace9d44d2b2c83
BLAKE2b-256 e0f10541f72a6052ad45af1c89f1393b2b7416be50ac549cb5f5e198a9ee8a89

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