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

Extend Python bindings with awkward-array interface #109

Open
HealthyPear opened this issue Jan 30, 2024 · 0 comments
Open

Extend Python bindings with awkward-array interface #109

HealthyPear opened this issue Jan 30, 2024 · 0 comments

Comments

@HealthyPear
Copy link
Contributor

The current Python bindings work nicely, but have the limitation that are based on numpy which doesn't like nested ragged arrays, which is all what XCDF is.

A nice project specifically built to deal with this kind of arrays is awkward-array.

If we manage to add a binding interface based on this, then and XCDF file should be basically an awkward "table" (see scikit-hep/awkward#2597).

The only limitation wrt to astropy tables is the support of units which is still under development (see scikit-hep/awkward#2468).

The metadata (in XCDF the "comments" section) might be simply loaded as an array of awkward records.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant