- ak.with_name(array, name, *, highlevel=True, behavior=None)#
array – Array-like data (anything
name (str or None) – Name to give to the records or tuples; this assigns the
"__record__"parameter. If None, any existing name is unset.
ak.Record (or low-level equivalent, if
highlevel=False) with a new name. This function does not change the
array in-place. If the new name is None, then an array without a name is
The records or tuples may be nested within multiple levels of nested lists. If records are nested within records, only the outermost are affected.