ak.to_awkward0¶
Defined in awkward.operations.convert on line 1653.
- ak.to_awkward0(array, keep_layout=False)¶
- Parameters
array – Data to convert into an Awkward 0.x array.
keep_layout (bool) – If True, stay true to the Awkward 1.x layout, ensuring zero-copy; otherwise, allow transformations that copy data for more flexibility.
Converts array
(many types supported, including all Awkward Arrays and
Records) into an Awkward 0.x array.
This is only needed during the transition from the old library to the new library.