use itertools

array-from ( oa )

Make the object on the stack into an array using Array.from.

zip ( zizo )

Given an array of arrays [a, b, ...], returns the zipped arrays [[a0, b0, ...], [a1, b1, ...], [a2, b2, ...]...].

enumerate ( eieo )

Like zip, but takes [a, b, c, d…] and returns [[0, a], [1, b], [2, c], [3, d]…].

killdups ( aa )

Remove all the duplicates in the array a, and return a new array.


back to index

docs@04547c7