AttributeError: <namespace cppyy.gbl.ROOT.RDF at 0x6b575b0> has no attribute ‘FromPandas’. Full details:
type object ‘RDF’ has no attribute ‘FromPandas’
‘ROOT::RDF::FromPandas’ is not a known C++ class
‘FromPandas’ is not a known C++ template
‘FromPandas’ is not a known C++ enum
I am sorry to read you are experiencing this issue.
What version of ROOT are you using?
A side question, originating from your code: could you maybe share the reason why you are starting from a ROOT file and you pass through uproot to build a RDataFrame?
Hello!
I am using root 6.30/02.
For the second part of the question I am trying to integrate some stuff on old code i was given, basically what i wrote is not present in the extract i shared, i am just doing stuff with pandas (and I have to admit I am not quite familiar with python, I wrote my first line of code in Python 6 days ago), so for sure if you have any suggestions they are more than welcome!
Thank you again.
I got the code to run with
rdf = ROOT.RDF.FromNumpy(data)
but i figure it may not be the most elegant solution.