ak.from_rdataframe — Awkward Array 2.8.2 documentation (original) (raw)

Defined in awkward.operations.ak_from_rdataframe on line 15.

ak.from_rdataframe(rdf, columns, *, keep_order=False, offsets_type='int64', with_name=None, highlevel=True, behavior=None, attrs=None)#

Parameters:

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 columnsiterable contains only one string, it is still a record array, which has only one field.

See also ak.to_rdataframe.