ak.partitioned — Awkward Array documentation

# ak.partitioned

Defined in awkward.operations.structure on line 3933.

ak.partitioned(arrays, highlevel=True, behavior=None)
  Parameters:

    - arrays (list of arrays) – The arrays to logically concatenate into a single partitioned array.

    - highlevel (bool) – If True, return an `ak.Array`; otherwise, return a low-level `ak.layout.Content` or `ak.partition.PartitionedArray` subclass.

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

Returns the logical concatenation of `arrays` as a partitioned array.

Partitioning is an internal aspect of an array: it should behave identically to a non-partitioned array, but possibly with different performance characteristics.

Arrays can only be partitioned in the first dimension; it is intended for performing calculations in memory-sized chunks.