def tail(samples=None, infos=None, batch=0):
    """Return only the tail of the samples and infos after the batch cutoff."""
    if samples is not None and len(samples) > batch:
        samples = samples.loc[batch:]
    if infos is not None and len(infos) > batch:
        infos = infos[batch:]
    return samples, infos
