Skip to content

Instantly share code, notes, and snippets.

@marty1885
Created July 10, 2019 04:43
Show Gist options
  • Save marty1885/35b41e6116ea8945cf37c399e51e0163 to your computer and use it in GitHub Desktop.
Save marty1885/35b41e6116ea8945cf37c399e51e0163 to your computer and use it in GitHub Desktop.
version value
0.1 1
0.1 1.257
0.2 2
0.2 1.3
{
auto rdf = ROOT::RDF::MakeCsvDataFrame("data.csv");
//version should be treated as a TString or std::string, but ROOT is treating it as a double
rdf.Foreach([](TString str){std::cout << str << std::endl;}, {"version"});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment