ak.partitions
-------------

Defined in `awkward.operations.structure <https://github.com/scikit-hep/awkward-1.0/blob/80bbef0738a6b7928333d7c705ee1b359991de5b/src/awkward/operations/structure.py>`__ on `line 3909 <https://github.com/scikit-hep/awkward-1.0/blob/80bbef0738a6b7928333d7c705ee1b359991de5b/src/awkward/operations/structure.py#L3909>`__.

.. py:function:: ak.partitions(array)


    :param array: A possibly-partitioned array.

Returns a list of partition lengths if the array is a PartitionedArray;
returns None otherwise.

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.

