Created
July 10, 2019 04:43
-
-
Save marty1885/35b41e6116ea8945cf37c399e51e0163 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version | value | |
---|---|---|
0.1 | 1 | |
0.1 | 1.257 | |
0.2 | 2 | |
0.2 | 1.3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
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