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

ak.to_var and ak.from_var: convert regular dimensions to and from variable dimensions with a high-level function #551

Closed
jpivarski opened this issue Nov 18, 2020 · 0 comments · Fixed by #553
Labels
feature New feature or request good first issue Good for newcomers

Comments

@jpivarski
Copy link
Member

This would be Python only, and would take an axis parameter (most likely use recursively_apply).

RegularArray → ListOffsetArray can use the existing RegularArray::toListOffsetArray64 function from the C++ side.

ListOffsetArray → RegularArray can use the existing ListOffsetArray::toRegularArray and ListArray::toRegularArray, also from the C++ side.

So really, 90% of these two functions already exist. This is a super-easy project and would be a good introduction if anyone's interested in learning how things work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request good first issue Good for newcomers
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant