-
Notifications
You must be signed in to change notification settings - Fork 194
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
Unflatten partial arrays #130
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Flattened arrays with indexes that don't start at 0 can't easily be unflattened.
Example:
The output is:
Is there a way to retrieve an unflattened version of
testData
that does not contain a "null" item? The result I'm trying to achieve is:The reason my indexes don't start at 0 is because the algorithm I'm building is filtering items in arrays, so it is expected to have non sequential indexes / indexes not starting at 0 in the initial flattened structure.
The text was updated successfully, but these errors were encountered: