Skip to content
Sections
>> Trisquel >> Pakete >> aramo >> python >> python3-numpy-groupies
aramo  ]
[ Quellcode: python-numpy-groupies  ]

Paket: python3-numpy-groupies (0.9.13-1)

performs operations on/with subsets of n-dim arrays

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 this implementation comfortably beats similar implementations in other packages (check the benchmarks).

Andere Pakete mit Bezug zu python3-numpy-groupies

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • dep: python3
    interactive high-level object-oriented language (default python3 version)

python3-numpy-groupies herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 19,3 kB93 kB [Liste der Dateien]