New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TTree CSV export #105
TTree CSV export #105
Conversation
How should we implement this? We could make a recarray and then convert it to a CSV, but that would we wasteful. However, it would be easy, and might be a good starting point. I'm not sure we want to(/can) support huge trees initially anyway. Given a method of turning a TTree into a CSV this is pretty trivial to implement. Just look at scan. |
I think TTree -> recarray -> CSV is fine for now ... for gigabytes you don't want CSV anyways. Thanks for the link to |
Sounds good to me, let me know how it goes :) |
The WebOOT part was trivial ... now how do I generate the CSV? I wanted to convert to a
|
Yes, you can use rootpy in weboot. TTree -> Tree should be easy through |
I'll wait until rootpy/rootpy#251 is resolved before finishing this. |
Still doesn't work. I get this in the browser when hitting
What am I doing wrong? |
@pwaller I'd like to get this done. Can you try the URL |
@cdeil, okay, if you want to get a The reason HTH. Do you follow? |
Ah ... stupid mistake ... thanks for checking! The URL
and @pwaller Ready to merge? |
It would be nice if it were easily possible to display or export TTree data (if possible after column and row selection) as CSV (comma-separated values).