Plotting Array Elements In TDataFrame


Is it possible to directly histogram specific array elements with the Histo1D function in the TDataFrame?

Something along the lines of
where x is an array. This crashes with
TypeError: can not resolve method template call for 'Histo1D'.

Right now I am finding that I have to define each element explicitely and plot that using

Karol Krizka

Hi Karol,

TDataFrame follows functional programming principles. In this case, the procedure you are following is correct: create a column with the element of the array you would like to plot.


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