30hsimplePath = os.path.join(str(ROOT.gROOT.GetTutorialDir().Data()),
"hsimple.root")
34df_cut = df.Filter(
"py > 0.f")\
35 .Define(
"px_plus_py",
"px + py")
39df_cached = df_cut.Cache()
41h = df_cached.Histo1D(
"px_plus_py")
47c.SaveAs(
"df019_Cache.png")
49print(
"Saved figure to df019_Cache.png")
ROOT's RDataFrame offers a modern, high-level interface for analysis of data stored in TTree ,...