def binarize_column(dataframe, column, prefix=""):
    """
    add separate binarized columns to a given dataframe for each uniqe value of column
    """
    values = dataframe[column].unique()
    for value in values:
        dataframe[prefix + value] = dataframe[column].map(lambda x: 1 if x == value else 0)
    return dataframe