def readIdLabel(path):
    """
    read id and label from .csv file

    Args:
        path: path of .csv file

    Returns: 
        id list, label list
    """
    id_list = list()
    label_list = list()
    with open(path, 'r') as f:
        next(f)
        for line in f:
            t = line.split(',')
            id_list.append(t[0])
            if t[1][:-1] != '':
                label_list.append(t[1][:-1])
    return id_list, label_list