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

Avoid nda.tolist() in Table.get_dataframe() when possible #32

Merged
merged 5 commits into from
Nov 3, 2023

Conversation

jasondet
Copy link
Contributor

@jasondet jasondet commented Nov 3, 2023

This gives a big speedup for most use cases.
Partially addresses legend-exp/pygama#521

Copy link

codecov bot commented Nov 3, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Files Coverage Δ
src/lgdo/types/scalar.py 89.28% <100.00%> (ø)
src/lgdo/types/table.py 91.80% <100.00%> (+0.13%) ⬆️

📢 Thoughts on this report? Let us know!.

@gipert gipert changed the title avoid nda.tolist() in get_dataframe() when possible Avoid nda.tolist() in Table.get_dataframe() when possible Nov 3, 2023
@gipert gipert added performance Code performance types LGDO types labels Nov 3, 2023
@gipert gipert merged commit 1607492 into legend-exp:main Nov 3, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Code performance types LGDO types
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants