- ak.from_rdataframe(rdf, columns, *, keep_order=False, offsets_type='int64', with_name=None, highlevel=True, behavior=None, attrs=None)#
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.
keep_order (bool) – If set to
Truethe columns with Awkward type will keep order after filtering.
offsets_type (str) – A
NumpyType.primitivetype of the ListOffsetArray offsets:
attrs (None or dict) – Custom attributes for the output array, if high-level.
Converts ROOT RDataFrame columns into an Awkward Array.
columns is a string, the return value represents a single RDataFrame column.
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
iterable contains only one string, it is still a record array, which has only