def __getColNamesAndTypesList__(cols,col_types_dict, col_distinct_vals_dict):
    col_names_and_types_lst = []
    for col in cols:
        if(col_distinct_vals_dict.has_key(col)):
            dist_vals = col_distinct_vals_dict[col].keys()
            dist_vals.sort()
            #In Dummy Coding, if a variable has K possible values, we add K-1 dummy variables (binary) to represent the original variable
            if(len(dist_vals) > 1):
                dist_vals = dist_vals[:-1]
            
            for valIndx in range(len(dist_vals)):
                col_names_and_types_lst.append(['{column}_val_{indx}'.format(column=col,indx=valIndx),'integer'])
                
        else:
            col_names_and_types_lst.append([col, col_types_dict[col]])
            
    return col_names_and_types_lst
Return true if this is a target that can be linked against.
dataset/ETHPy150Open pivotalsoftware/pymadlib/pymadlib/utils.py/__getColNamesAndTypesList__--crossover with--dataset/ETHPy150Open adobe/brackets-shell/gyp/pylib/gyp/generator/ninja.py/Target.Linkable