Last active
October 28, 2020 20:54
-
-
Save MohamedElashri/3ed6aed09a0c311ab0e5d67c83405923 to your computer and use it in GitHub Desktop.
convert ROOT data to csv in a simple way using rootpy package
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from rootpy.io import root_open | |
f=root_open('File.root') | |
t=f.Get('FlatTree') | |
t.csv() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment