You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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: