Skip to content
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

Include a polars backend? #1264

Closed
denehoffman opened this issue Aug 6, 2024 · 2 comments
Closed

Include a polars backend? #1264

denehoffman opened this issue Aug 6, 2024 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@denehoffman
Copy link

Now that polars is out of v0, it would be nice to have some features to stream directly to polars dataframes. Currently it's not difficult to convert the library='np' output to a polars dataframe (pl.DataFrame(ttree.arrays(library='np')) usually does the trick), but it might be interesting to directly read to one, especially in cases where streaming and lazy evaluation become important (large files). Again, this is not a feature I need right now (or have the knowledge to write myself), just might be something to look at in the future.

@denehoffman denehoffman added the feature New feature or request label Aug 6, 2024
@denehoffman
Copy link
Author

I just realized this is very related to #1261, but it could also just be done through the py-polars frontend without any Rust involvement from the uproot side.

@jpivarski
Copy link
Member

In fact, it's even more related to #1096. I should label this issue as a duplicate and you should follow up on #1096.

@jpivarski jpivarski added duplicate This issue or pull request already exists and removed feature New feature or request labels Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants