def class_labels(column):
    """
    Takes in target column and creates list of binary values. 1 (>=0.5) being in the 
    positive class (toxic), 0 (<0.5) being in the negative class (Not toxic)
    """

    class_label = []

    for row in column:

        if row < 0.5:
            class_label.append(0)
        else:
            class_label.append(1)

    return class_label