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.19.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.19-py3-none-any.whl (25.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for numpy_groupies-0.9.19.tar.gz
Algorithm Hash digest
SHA256 249a706e090e2591d8970a148f956c21e92abd69cd0874a9a50cc705ac52fa68
MD5 4f7ee2248cfd03feaa518c21fbdc8811
BLAKE2b-256 2eac23f39ba14a7d4419a74e4f98ff8c174f52b6ffa1c91c9b30095986af502c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpy_groupies-0.9.19-py3-none-any.whl
Algorithm Hash digest
SHA256 08755e2f19042dc310e0b7c3afbadae195632d32923425bdd3aeb4bb587727e3
MD5 b701e6f501273a078f537dd002657215
BLAKE2b-256 cfce6082849ff2b9465666c756e2df0f5a92a2cc9279ffb4a46f44897348b718

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