The following methods take a variety of input sequence arguments and produce result sequences or scalar types as described in the table below:
histogram( ... ) Build a histogram for the input sequence. Minimal (inclusive) and maximal (exclusive) values for input sequence should be specified as well as the number of intervals (histogram columns). (The number of intervals should not be greater than tile size) sort( ... ) Sort the sequence elements previously extracted using get()
and construct a permutation array (of positions) that can be used to access the elements of other sequences (also extracted to arrays)order_by( ... ) Sort the sequence elements using the permutation produced by sort()
. If thedata
parameter is "None", this function extracts all sequence elements to an array and then creates an iterator though this array according to the given permutation. The created array should be removed by thereset()
method. If thedata
parameter is not NULL, then the input iterator is ignored and data is take from this array.func(func, arg) Apply the function pointed to by argument func with argument arg to the object's sequence and produce result sequence of the same type