root_numpy
Python Extension for converting root files to numpy recarray or structure array. This is very useful for using in interactive data exploration environment like ipython (especially notebook).
Written in C++ with lots of pointer and memcpy magic and it doesn’t call PyRoot so it’s much faster especially if you are trying to read a large file in to memory (100MB+ or even GB’s of Data).
Currently only support basic types like Float_t Int_t Double_t Bool_t etc. and array of basic types both variable and fixed length. vector of basic type (int, float, double, char, long) is also supported.
Tab completion for numpy.recarray column name (yourdata.<TAB> showing the column names so you don’t have to remember it) is also available with this numpy patch
Requirements
Tested with Root 5.32, numpy 1.6.1, Python 2.7.1 but it should work in most places.
Installation
python setup.py install
Documentation
Metadata
Release files for root-numpy 2.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| root_numpy-2.0.1.tar.gz | 189.6 kB | Without provenance | Details for root_numpy-2.0.1.tar.gz |
Release files / root_numpy-2.0.1.tar.gz
| Download URL | root_numpy-2.0.1.tar.gz |
|---|---|
| Size | 189.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b22148f327944bf7f47e6c08794227f97319422014c5af8f923c2810cab93573
|
|
BLAKE2b-256 checksum How to use checksums |
0290d9ef075a5efb64959fbabfe2f8a61b14bb4d28ab3f359af39529c407b90d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for root-numpy 2.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.