12–16 Sept 2022
Europe/Zurich timezone

Awkward RDataFrame Tutorial

15 Sept 2022, 17:30
30m
Notebook talk Plenary Session Thursday

Speaker

Ianna Osborne (Princeton University)

Description

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