PositionIndex¶
Returns an association mapping each element to the list of its positions.
For an association the "positions" are the keys, so the result maps each distinct value to the keys it is stored under.
PositionIndex¶Returns an association mapping each element to the list of its positions.
For an association the "positions" are the keys, so the result maps each distinct value to the keys it is stored under.