Ak.zip

: If you pass a list or tuple of arrays instead of a dictionary, it creates an array of unnamed tuples.

: By passing a dictionary to ak.zip , you can create named fields. ak.zip

# Example: Creating a record array with fields "x" and "y" import awkward as ak array = ak.zip({"x": [1, 2, 3], "y": [1.1, 2.2, 3.3]}) # Result: Use code with caution. Copied to clipboard : If you pass a list or tuple

: It is frequently used when reading from or writing to ROOT files (standard in physics) to ensure that attributes with the same "raggedness" (like jet or muon properties) are grouped correctly for storage. How to concatenate and interleave arrays ak.zip