ak._v2.ak_from_arrow.from_arrow

Defined in awkward._v2.operations.convert.ak_from_arrow on line 9.

ak._v2.ak_from_arrow.from_arrow(array, highlevel=True, behavior=None)
Parameters
  • (pyarrow.Array (array) – or pyarrow.Table): Apache Arrow array to convert into an Awkward Array.

  • pyarrow.ChunkedArray – or pyarrow.Table): Apache Arrow array to convert into an Awkward Array.

  • pyarrow.RecordBatch – or pyarrow.Table): Apache Arrow array to convert into an Awkward Array.

:paramor pyarrow.Table): Apache Arrow array to convert into an

Awkward Array.

Parameters
  • highlevel (bool) – If True, return an ak.Array; otherwise, return a low-level ak.layout.Content subclass.

  • behavior (None or dict) – Custom ak.behavior for the output array, if high-level.