def one_hot_row(value, possible_values):
    """One-hot-encode a row of data.
    
    Parameters
    ----------
    value : obj
        Any one of the possible values to be one-hot-encoded.
    possible_values : list
        List of possible values.
    
    Returns
    ----------
    list
        One-hot-encoded value.
    """
    
    ohe = []
    for entry in possible_values:
        if entry == value:
            ohe.append(1)
        else:
            ohe.append(0)
    
    return ohe