Awkward to RDataFrame and back

02/20/2023
by   Ianna Osborne, et al.
0

Awkward Arrays and RDataFrame provide two very different ways of performing calculations at scale. By adding the ability to zero-copy convert between them, users get the best of both. It gives users a better flexibility in mixing different packages and languages in their analysis. In Awkward Array version 2, the ak.to_rdataframe function presents a view of an Awkward Array as an RDataFrame source. This view is generated on demand and the data are not copied. The column readers are generated based on the run-time type of the views. The readers are passed to a generated source derived from ROOT::RDF::RDataSource. The ak.from_rdataframe function converts the selected columns as native Awkward Arrays. The details of the implementation exploiting JIT techniques are discussed. The examples of analysis of data stored in Awkward Arrays via a high-level interface of an RDataFrame are presented. A few examples of the column definition, applying user-defined filters written in C++, and plotting or extracting the columnar data as Awkward Arrays are shown. Current limitations and future plans are discussed.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/03/2023

The Awkward World of Python and C++

There are undeniable benefits of binding Python and C++ to take advantag...
research
06/27/2019

Array Codes with Local Properties

In general, array codes consist of m× n arrays and in many cases, the ar...
research
01/15/2020

Awkward Arrays in Python, C++, and Numba

The Awkward Array library has been an important tool for physics analysi...
research
10/07/2019

Small Youden Rectangles and Their Connections to Other Row-Column Designs

In this paper we study Youden rectangles of small orders. We have enumer...
research
04/13/2021

On Generalized Expanded Blaum-Roth Codes

Expanded Blaum-Roth (EBR) codes consist of n× n arrays such that lines o...
research
01/02/2023

Nested perfect toroidal arrays

We introduce two-dimensional toroidal arrays that are a variant of the d...
research
03/04/2019

On Resistive Memories: One Step Row Readout Technique and Sensing Circuitry

Transistor-based memories are rapidly approaching their maximum density ...

Please sign up or login with your details

Forgot password? Click here to reset