itertools2-package |
itertools2: Functions creating iterators for efficient looping |
consume |
Consumes the first n elements of an iterator |
dotproduct |
Computes the dot product of two iterable objects |
ichain |
Iterator that chains multiple arguments together into a single iterator |
ichunk |
Iterator that returns elements in fixed-length chunks |
icompress |
Iterator that filters elements where corresponding selector is false. |
icount |
Iterator of neverending numeric sequence with initial value and step size |
icycle |
Iterator that cycles indefinitely through an iterable object |
idropwhile |
Iterator that drops elements until the predicate function returns FALSE |
ienum |
Iterator that returns the elements of an object along with their indices |
ienumerate |
Iterator that returns the elements of an object along with their indices |
ifilter |
Iterator that filters elements not satisfying a predicate function |
ifilterfalse |
Iterator that filters elements not satisfying a predicate function |
ilength |
Consumes an iterator and computes its length |
imap |
Iterator that applies a given function to several iterables concurrently. |
ipad |
Iterator that returns an object followed indefinitely by a fill value |
ipairwise |
Iterator that returns elements of an object in pairs |
iproduct |
Iterator that returns the Cartesian product of the arguments. |
irep |
Iterator that replicates elements of an iterable object |
irepeat |
Iterator that returns an object indefinitely |
irep_len |
Iterator that replicates elements of an iterable object |
iroundrobin |
Iterator that traverses each given iterable in a roundrobin order |
iseq |
Iterators for sequence generation |
iseq_along |
Iterators for sequence generation |
iseq_len |
Iterators for sequence generation |
islice |
Iterator that returns selected elements from an iterable. |
istar |
Iterator that applies a given function to the elements of an iterable. |
istarmap |
Iterator that applies a given function to the elements of an iterable. |
is_iterator |
Helper function that determines whether is an iterator object |
itabulate |
Iterator that maps a function to a sequence of numeric values |
itakewhile |
Iterator that returns elements while a predicate function returns TRUE |
itee |
Returns a list of n independent iterators from a single iterable object |
itertools2 |
itertools2: Functions creating iterators for efficient looping |
iter_deepcopy |
Performs a deep copy of an iterator |
iter_length |
Helper function that determines the length of an iterator object |
iunique |
Iterator that extracts the unique elements from an iterable object |
iunique_justseen |
Iterator that extracts the just-seen unique elements from an iterable object |
izip |
Iterator that iterates through several iterables concurrently. |
izip_longest |
Iterator that iterates through several iterables concurrently. |
nth |
Returns the nth item of an iterator |
package-itertools2 |
itertools2: Functions creating iterators for efficient looping |
quantify |
Count the number of times an iterable object is TRUE |
stop_iteration |
Helper function that determines whether an object inherits from a StopIteration exception |
take |
Return the first n elements of an iterable object as a list |
try_nextElem |
Calls iterators::nextElem(). If error, returns default value. |