def single_day(stats, day):
    """skip day-1 days then return only results from the next day"""
    days_seen = set()
    for ping in stats:
        days_seen.add(ping.date)
        if len(days_seen) == day:
            yield ping
        if len(days_seen) > day:
            return
