awkward-array
Installation
SKILL.md
Awkward Array
Overview
Use this skill to apply Awkward 2.0 best practices for jagged arrays, especially in HEP-style event data models. Keep guidance lean in this file and load reference notes only when needed.
Core workflow
- Build an event data model (records) with
ak.zip. - Filter early at the event level.
- Perform combinatorics or derived calculations.
- Add derived fields back into the record with
ak.with_field. - Repeat until the final values are present in the EDM.
Reference guide
Load only the reference files that matches the task: