which generates the histograms for each column, but now I would like to “merge” both histograms into one, and I am unsure on how to do this. Would anyone know how to proceed in this case?
Any help would be appreciated!
As a side note, once RDataFrame produces the histograms, what you get are (pointers to) standard ROOT histograms (TH1Ds, to be precise: ROOT: TH1D Class Reference ), and you can play with them independently of RDataFrame.