I’m curious about what’s happening in the back-end when the event loop starts for RDataFrame depending on how the lazy actions are built in python. So I have two dummy examples:
Method 1:
rdf = ROOT.RDataFrame()
first = rdf.Filter(“cut1”)
second = first.Filter(“cut2”)
aFork = second.Filter(“cutA”)
bFork = second.Filter(“cutB”)
Hi Lucas,
first is better: “cut1” and “cut2” are checked twice in the second case. RDF does not check whether the same Filter is booked twice (it could indeed for filter strings, but it could not in general for filter functions in C++).