def _filter_labels(labels, start_datetime, end_datetime, verbose=True):
    """ Select the labels whose date in the provided datetime range """
    mask = (labels.Date >= start_datetime) & (labels.Date <= end_datetime)
    if verbose:
        print("Selecting {} out of {} labels".format(mask.sum(), len(labels)))
    return labels[mask]