Sep 12 – 16, 2022
Europe/Zurich timezone

Awkward RDataFrame Tutorial

Sep 15, 2022, 5:30 PM
Notebook talk Plenary Session Thursday


Ianna Osborne (Princeton University)


This Jupyter notebook tutorial will cover usage of Awkward Arrays within an RDataFrame.

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 is 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 tutorial demonstrates examples of the column definition, applying user-defined filters written in C++, and plotting or extracting the columnar data as Awkward Arrays.

Primary authors

Ianna Osborne (Princeton University) Jim Pivarski (Princeton University)

Presentation materials