ROOT - Developments - Improve Python interface for HIstograms


The goal of this project is to enhance the Python interface to make more “pythonic”, i.e. easier to use, popular classes in ROOT such as histograms and graphs. Within Python it is natural to use the native language feature to configure the methods.

Task ideas and expected results

The initial task will be to develop easy conversions of histograms and graph ROOT classes to Numpy arrays. Afterwards it is expected to implement the Universal Histogram Interface (UHI, see ) for the ROOT histograms. This will allow interoperability in Python between different histogram packages. Tests and tutorial examples are also expected to be developed, including the migration of existing tutorials to the pythonizations developed in this project.

Evaluation Task

Interested students please contact the mentors for a warm-up and evaluation task.


Good knowledge of Python and C++, familiarity with machine learning software tools


Additional Information

Corresponding Project

Participating Organizations