Skip to main content
https://travis-ci.org/rootpy/root_numpy.png

root_numpy

root_numpy is a Python extension for converting ROOT TTrees into NumPy recarrays or structured arrays. With the core internals written in C++, root_numpy can efficiently handle large amounts of data (limited only by the available memory). Now that your ROOT data is in NumPy form, you can make use of the many powerful scientific Python packages or perform quick exploratory data analysis in interactive environments like IPython (especially IPython’s popular notebook feature).

root_numpy currently supports basic types like Bool_t, Int_t, Float_t, Double_t, etc. and arrays of basic types (both variable and fixed-length). Vectors of basic types are also supported.

Tab completion for numpy.recarray column names (yourdata.<TAB>) is also available with this numpy extension.

The rootpy package also provides a script that uses root_numpy and PyTables to convert all TTrees in a ROOT file into the HDF5 format.

Requirements

root_numpy is 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

See http://rootpy.github.com/root_numpy/

Metadata

Release files for root-numpy 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for root-numpy 2.1.0
File Size Uploaded Provenance Actions
root_numpy-2.1.0.tar.gz 196.7 kB Without provenance Details for root_numpy-2.1.0.tar.gz

Release files / root_numpy-2.1.0.tar.gz

Download URL root_numpy-2.1.0.tar.gz
Size 196.7 kB
Tags Source
SHA-256 checksum
How to use checksums
532cb7ea3856160eea1d2c4607bfec6452c8d988e7c1f68ba1b740ac7672ed56
BLAKE2b-256 checksum
How to use checksums
f63c286d4d2a2d7ad53fd2ae402e85ab74735eaf9d597dc9ef29768477185f30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for root-numpy 2.1.0

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.

Release history Release notifications | RSS feed

This release

2.1.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page