How to convert .csv to TTree stored?


ROOT Version: 6.28
Platform: windows 10
Compiler: visual studio


   auto fileName = "foo.csv";
   auto df = ROOT::RDF::FromCSV(fileName);
   df.Snapshot("foo", "foo.root");

For more details, see ROOT: tutorials/dataframe/df014_CSVDataSource.C File Reference

D

1 Like

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