Hi,
I am needing to make a simple table of data in pyROOT. I am wanting to make something simple like this:
If anyone can provide some pyROOT example of a table that would be nice. Thank you.
Hi,
I am needing to make a simple table of data in pyROOT. I am wanting to make something simple like this:
If anyone can provide some pyROOT example of a table that would be nice. Thank you.
What is the purpose of the table? (eg. Just printed as shown?) What is the size of the table (a few rows and columns, hundreds of rows or columns, millions of rows)?
The size of the table I want is 9 rows by 3 columns. The purpose of the table above is the kind of table I want to make, so yes as shown. Just something very simple like that.
Not really a PyROOT question then (unless I am still misunderstanding your need).
See https://stackoverflow.com/questions/9535954/printing-lists-as-tabular-data a sample of possibilities on how to do this in Python.
Oh, you can’t make tables that stem from ROOT? I didn’t know that. Thank you. I’ll just use LATEX then.
What do you mean by that? (the answer is probably actually yes but how depends on the actual context .. eg. LATEX syntax can be used in several ROOT context").