Awkward-array
awkward-array.org › doc › main › getting-started › community-tutorials.html
Community tutorials — Awkward Array 2.6.3 documentation
An HSF-provided tutorial aimed at High Energy Physics (HEP) researchers on using Awkward Array to obtain a dimuon-mass spectrum.
Awkward-array
awkward-array.org › doc › main › getting-started › index.html
Getting started — Awkward Array 2.13.0 documentation
ak.combinations() is Awkward Array’s primitive for sampling without replacement: it makes an array of all pairs drawn from an array and itself without duplicates. It emulates nested for loops that avoid repeating the same element. These pairs (or triples, etc.) are tuples, which are records without field names. Often, nested=True is a useful argument to avoid flattening the output. ... See the last section of How Awkward broadcasting works. What if I need more help? What if I think I’ve found a bug? After checking the tutorials on the left-bar of this Getting started guide, the User guide, and the API reference, you can ask questions about how to use a feature or solve a problem on Awkward Array’s GitHub Discussions.
59:30
PyHEP 2021: Uproot and Awkward Array tutorial - YouTube
01:34:07
PyHEP 2020 Uproot Tutorial - YouTube
02:37:12
Jim Pivarski Tutorial: uproot and Awkward Array - YouTube
36:01
Awkward Array: Manipulating JSON like Data with NumPy like Idioms ...
33:34
"Jagged, ragged, awkward arrays" by Jim Pivarski - YouTube
Awkward-array
awkward-array.org
Awkward Array documentation — Awkward Array 2.13.0 ...
We cannot provide a description for this page right now
Awkward-array
awkward-array.org › quickstart.html
Quickstart
Awkward Array is a library for nested, variable-sized data, including arbitrary-length lists, records, mixed types, and missing data, using NumPy-like idioms. Arrays are dynamically typed, but operations on them are compiled and fast. Their behavior coincides with NumPy when array dimensions ...
Awkward-array
awkward-array.org › doc › main › index.html
Awkward Array documentation — Awkward Array 2.9.0 documentation
New to Awkward Array? Unsure what it can be used for? Check out the getting started guides. They contain an introduction to Awkward Array’s features and links to additional help.
Starred by 214 users
Forked by 38 users
Languages: Python 63.7% | Jupyter Notebook 36.3%
Awkward-array
awkward-array.org › doc › 2.0 › user-guide › index.html
User guide — Awkward Array 2.0.4 documentation
This user guide provides examples of using Awkward Array, organised by high-level topic into subsections.
Coderz Column
coderzcolumn.com › tutorials › python › awkward-array-guide-to-work-with-tree-like-nested-variable-sized-datasets
Awkward Array: Guide to Work with JSON-like Nested, Variable-sized Datasets using Numpy-like Idioms by Sunny Solanki
November 20, 2021 - The awkward array let us work with tree-like nested data structure as if we are working with numpy arrays. The code designed using awkward array to work with tree-like data structure is fast like numpy code working on arrays. As a part of this tutorial, we'll explain how to create and work with awkward arrays with simple examples.
Awkward-array
awkward-array.org › doc › main › user-guide › 10-minutes-to-awkward-array.html
10 minutes to Awkward Array — Awkward Array 2.6.3 documentation
This is a short, tutorial-style introduction to Awkward Array, aimed towards new users. For details of how to perform specific operations in Awkward Array, e.g.
Umdcms
umdcms.github.io › CoffeaTutorial › notebooks › awkwardbasic.html
Learning the awkward arrays syntax — Unofficial Coffea Tutorial documentation
The “awkward” part of awkward array refers to two parts: - The value of A is different for each event and for each collection. In this demonstration, our 0-th event has 1 muon, the 1-st and 2-rd event has no muons, and the 3-rd event has 3 muons and so on.
Awkward-array
awkward-array.org › doc › 2.1 › user-guide › index.html
User guide — Awkward Array 2.1.4 documentation
This user guide provides examples of using Awkward Array, organised by high-level topic into subsections.
Awkward-array
awkward-array.org › doc › main › getting-started › 10-minutes-to-awkward-array.html
10 minutes to Awkward Array — Awkward Array 2.8.9 documentation
This is a short, tutorial-style introduction to Awkward Array, aimed towards new users. For details of how to perform specific operations in Awkward Array, e.g.
Cms-opendata-workshop
cms-opendata-workshop.github.io › workshop2022-lesson-cpp-root-python › 08-awkward
Using awkward arrays to analyze HEP data – ROOT with C++ and python
August 2, 2022 - So can we use manipulate this object like a numpy array? Yes! If we’re careful about accessing the array properly. ... When we histogram, however, we need to make use of the awkward.flatten function.
CERN
indico.cern.ch › event › 1019958 › contributions › 4430420
PyHEP 2021 (virtual) Workshop (5-July 9, 2021): Uproot and Awkward Array tutorial · Indico
July 6, 2021 - Uproot provides an easy way to get data from ROOT files into arrays and DataFrames, and Awkward Array lets you manipulate arrays of complex data types. This tutorial starts at the beginning, showing how an Uproot + Awkward Array (+ Hist + Vector) workflow differs from ROOT based workflows, how to extract objects and arrays from ROOT files, how to apply cuts and restructure arrays, and it ends with a walk-through of advanced topics: gen-reco matching and resolving combinatorics in H → ZZ → 4μ.
Zenodo
zenodo.org › records › 6798671
Uproot and Awkward Array tutorial | Zenodo
July 6, 2022 - This tutorial starts at the beginning, showing how an Uproot + Awkward Array (+ Hist + Vector) workflow differs from ROOT based workflows, how to extract objects and arrays from ROOT files, how to apply cuts and restructure arrays, and it ends with a walk-through of advanced topics: gen-reco ...
Awkward-array
awkward-array.org › doc › main › getting-started › demo › what-is-an-awkward-array.html
Versatile Arrays — Awkward Array 2.6.3 documentation
ak.Array( [ [ "Benjamin List", "David MacMillan", ], [ "Emmanuelle Charpentier", "Jennifer A. Doudna", ], ] ) Awkward Arrays can have structure through records:
Awkward-array
awkward-array.org › doc › 2.2 › user-guide › index.html
User guide — Awkward Array 2.2.4 documentation
This user guide provides examples of using Awkward Array, organised by high-level topic into subsections.
Awkward-array
awkward-array.org › doc › main › getting-started › jagged-ragged-awkward-arrays.html
Jagged, Ragged, Awkward Arrays! — Awkward Array 2.9.1 documentation
import uproot import awkward as ak file = uproot.open( "https://github.com/jpivarski-talks/2023-12-18-hsf-india-tutorial-bhubaneswar/raw/main/data/SMHiggsToZZTo4L.root" ) tree = file["Events"] arrays = tree.arrays(filter_name="/Muon_(pt|eta|phi|charge)/", entry_stop=10000) muons = ak.zip( { "pt": arrays["Muon_pt"], "eta": arrays["Muon_eta"], "phi": arrays["Muon_phi"], "charge": arrays["Muon_charge"], } ) arrays.type.show() 10000 * { Muon_pt: var * float32, Muon_eta: var * float32, Muon_phi: var * float32, Muon_charge: var * int32 } muons.type.show() 10000 * var * { pt: float32, eta: float32, phi: float32, charge: int32 } The difference between arrays and muons is that arrays contains separate lists of "Muon_pt", "Muon_eta", "Muon_phi", "Muon_charge", while muons contains lists of records with "pt", "eta", "phi", "charge" fields.
Awkward-array
awkward-array.org › doc › 2.1 › getting-started › index.html
Getting started — Awkward Array 2.1.4 documentation
Ragged arrays do not have shapes that can be described by a collection of integers. Instead, Awkward Array uses an extended version of the DataShape layout language to describe the structure and type of an Array.
Awkward-array
awkward-array.org › doc › main › getting-started › what-is-an-awkward-array.html
What is an “Awkward” Array? — Awkward Array 2.8.9 documentation
ak.Array( [ [ "Benjamin List", "David MacMillan", ], [ "Emmanuelle Charpentier", "Jennifer A. Doudna", ], ] ) [['Benjamin List', 'David MacMillan'], ['Emmanuelle Charpentier', 'Jennifer A. Doudna']] -------------------------------------------------- backend: cpu nbytes: 132 B type: 2 * var * string · Awkward Arrays can have structure through records: