Logo ROOT  
Reference Guide
No Matches
df014_CSVDataSource.py File Reference


namespace  df014_CSVDataSource

Detailed Description

View in nbviewer Open in SWAN Process a CSV file with RDataFrame and the CSV data source.

This tutorial illustrates how use the RDataFrame in combination with a RDataSource. In this case we use a TCsvDS. This data source allows to read a CSV file from a RDataFrame. As a result of running this tutorial, we will produce plots of the dimuon spectrum starting from a subset of the CMS collision events of Run2010B. Dataset Reference: McCauley, T. (2014). Dimuon event information derived from the Run2010B public Mu dataset. CERN Open Data Portal. DOI: 10.7483/OPENDATA.CMS.CB8H.MFFA.

Definition in file df014_CSVDataSource.py.