_ROOT Version: 6.18.04
_Platform: OSX
_Compiler: clang
I am using RDataFrame to analyze some data in a csv. The data contain few column which are string.
I would like to filter the data on that string column. Here my example. “descr” is the column name and “ICU_N_Voltage” is the value.
root [2] auto h1 = df.Filter(“descr == ICU_N_Voltage”).Histo1D(“engValue”)
input_line_17:2:17: error: use of undeclared identifier ‘ICU_N_Voltage’
return descr == ICU_N_Voltage
^
libc++abi.dylib: terminating with uncaught exception of type std::runtime_error: Cannot interpret the following expression:
descr == ICU_N_VoltageMake sure it is valid C++.
How can I make it working?
Thanks a lot
S