Other Alpha Utils

API Documentation

pyterrier_alpha.utils.peekable(it)[source]

Create a PeekableIter from an iterator or iterable.

Return type:

PeekableIter

pyterrier_alpha.transformer_repr(self)[source]

Return a string representation of a transformer instance. :rtype: str

Added in version 0.3.0.

Changed in version 0.4.2: Prioritize fields with _name above name

Changed in version 0.12.1: Ignore verbose