owned this note changed 3 years ago
Linked with GitHub

Scratch Space - Python for analysis: Uproot and Scikit-HEP

Software Carpentry (Virtual): 13-15 July 2022


error because the second list does not contain any elements

to fix it you can do a[:,:0]

event_cut=ak.max(muon_pt,axis=1) > 20
muon_pt[event_cut]

Select a repo