What problem does it solve?
Awkward Array 2.0 presents powerful tools for jagged data; this skill consolidates best practices and quick patterns to construct, manipulate, and reason about nested data structures in Python.
Core Features & Use Cases
- Build and combine records with ak.zip to create structured event-like data.
- Extend arrays with new fields using ak.with_field and perform common transforms like filtering, sorting, and flattening.
- Handle combinatorics with ak.cartesian and ak.combinations to explore pairings and n-way combinations across nested lists.
- Safely navigate argmin/argmax slicing and NumPy interoperability within Awkward arrays.
- Real-world use: transform variable-length event data into flat tables for analysis and plotting.
Quick Start
Build a tiny jagged dataset, combine fields with ak.zip, and add a derived field with ak.with_field.