def list_index(ls, indices):
    """numpy-style creation of new list based on a list of elements and another
    list of indices

    Parameters
    ----------
    ls: list
        List of elements
    indices: list
        List of indices

    Returns
    -------
    list
    """
    return [ls[i] for i in indices]