Issue with RDF Display() function

I am trying to use the display function for an RDF to check the columns I have defined. This is the code:

        d1 = Rdf_ak4.Display("")
        d1.Print()

But I get the error
AttributeError: ‘ROOT.MethodProxy’ object has no attribute ‘Print’

I tried adding the Clone() function since I recalled a similar error with Histo1D

d1 = d1.Clone()

But then I just get the error
AttributeError: ‘ROOT.MethodProxy’ object has no attribute ‘Clone’

What am I doing wrong and how can I get the Display() function to work properly?

ROOT Version: 6.18/04
Python 2.7.15

I guess @eguiraud can help you.

Hi @Adam_Kobert ,
sorry for the trouble! I’m not sure what’s going wrong exactly, but v6.18 is pretty old and that code should work fine with a recent ROOT version (6.24.06).

Cheers,
Enrico

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.