gordonwatts / BDTTrainingAnalysisLanguage

Pull from ATLAS EXOT 15 Derivation, columnar data, and flat rootutples with RDF to scikitlearn in one nice fast swoop
0 stars 2 forks source link

Implement First/Last #68

Open gordonwatts opened 5 years ago

gordonwatts commented 5 years ago

Find the first or last item in a sequence. Bomb if there is nothing in the sequence!

Only need to do this for collections inside an event - not for all events.

gordonwatts commented 5 years ago

Now that we have the basics, we have to implement tuples and first.

(tuple).First()[index] => (tuple)[index].First() or similar, for example. You need a select in there, I suspect.