scikit-hep/awkward-array: 0.8.0
Authors/Creators
- 1. Fermilab
- 2. University of Cincinnati
Description
Introduced awkward-numba, a separately installable package to accelerate some methods with Numba's just in time compilation.
- Running
pip install awkward-numbaadds a package inside awkward:import awkward.numba. - Arrays in
awkward.numba.*behave just like arrays inawkward.*except that some methods are faster and require Numba to be installed. - Reading persisted arrays with
awkwardlib="awkward.numba"loads them in accelerated form. - Both unaccelerated and accelerated arrays can be used in the same process; the latter are a subclass of the former.
To do this, many central facilities from awkward.util have been moved into the classes themselves. For instance, the Numpy corresponding to a JaggedArray or a JaggedArrayNumba are now in JaggedArray.numpy and JaggedArrayNumba.numpy. This is to prepare the way for GPU extensions of awkward-array, in which JaggedArrayCUDA.numpy would actually be CuPy.
Soon, uproot-methods and uproot will depend on awkard 0.8.0 as a minimum version.
Files
scikit-hep/awkward-array-0.8.0.zip
Files
(255.2 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:db9cfd8868a6537ec2e89658855171d5
|
255.2 kB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/scikit-hep/awkward-array/tree/0.8.0 (URL)