itertools.compress(data, selectors) Make an iterator that filters elements from data returning only those that have
operator.eq(a, b) operator.ne(a, b) operator.ge(a, b) operator
itertools.zip_longest(*iterables, fillvalue=None) Make an iterator that aggregates elements from each of the iterables. If the
itertools.product(*iterables, repeat=1) Cartesian product of input iterables. Roughly equivalent
operator.length_hint(obj, default=0) Return an estimated length for the object o. First try to return its actual length
operator.add(a, b) operator.__add__(a, b) Return a + b, for a and b numbers.
operator.__pos__(obj) Return obj positive (+obj).
operator.inv(obj) operator.invert(obj) operator.__inv__(obj) operator
operator.concat(a, b) operator.__concat__(a, b) Return a + b for a and b sequences
itertools.chain(*iterables) Make an iterator that returns elements from the first iterable until it is exhausted, then proceeds
Page 1 of 13