Read data from Pandas Data Frame into RDataFrame.
import ROOT
import pandas as pd
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
void Print(GNN_Data &d, std::string txt="")
+-----+---+---+---+
| Row | x | y | z |
+-----+---+---+---+
| 0 | 1 | 4 | 5 |
+-----+---+---+---+
| 1 | 2 | 5 | 7 |
+-----+---+---+---+
| 2 | 3 | 6 | 9 |
+-----+---+---+---+
- Date
- February 2024
- Author
- Pere Mato (CERN)
Definition in file df035_RDFFromPandas.py.