How to use Snapshot template parameters in pyRoot


Please read tips for efficient and successful posting and posting code

Please fill also the fields below. Note that root -b -q will tell you this info, and starting from 6.28/06 upwards, you can call .forum bug from the ROOT prompt to pre-populate a topic.

ROOT Version: 6.34.4
Platform: Linux
Compiler: Not Provided


Based on the answer here RDataFrame tree conversion takes too much time and memory - #9 by eguiraud
seems that using Snapshot template parameters makes Snapshot a lot faster.

Is there a way to do it in python assuming that the column types are string and uint64 ?