awkward-array
CommunityMaster Awkward Array 2.0 patterns for jagged data
Authorgordonwatts
Version1.0.0
Installs0
System Documentation
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.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: awkward-array Download link: https://github.com/gordonwatts/skill-test/archive/main.zip#awkward-array Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.