ak.from_rdataframe#
Defined in awkward.operations.ak_from_rdataframe on line 6.
- ak.from_rdataframe(rdf, columns)#
- Parameters
rdf (
ROOT.RDataFrame
) – ROOT RDataFrame to convert into an Awkward Array.columns (str or iterable of str) – A column or multiple columns to be converted to Awkward Array.
Converts ROOT RDataFrame columns into an Awkward Array.
If columns
is a string, the return value represents a single RDataFrame column.
If columns
is any other iterable, the return value is a record array, in which
each field corresponds to an RDataFrame column. In particular, if the columns
iterable contains only one string, it is still a record array, which has only
one field.
See also ak.to_rdataframe
.