ak.without_parameters#

Defined in awkward.operations.ak_without_parameters on line 16.

ak.without_parameters(array, *, highlevel=True, behavior=None, attrs=None)#
Parameters:
  • array – Array-like data (anything ak.to_layout recognizes).

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

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

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

This function returns a new array without any parameters in its ak.Array.layout, on nodes of any level of depth.

Note that a “new array” is a lightweight shallow copy, not a duplication of large data buffers.