def _unpack_field(examples, field):
    """Get all values of examples under the specified field.

    Parameters
    ----------
    examples : iterable
        An iterable of objects.
    field : str
        The field for value retrieval.

    Returns
    -------
    list
        A list of values.
    """
    return [e[field] for e in examples]