for col, new_col in list(col_map.items()):
    if new_col not in df:
        df[new_col] = [int(a != 0) for a in df[col]]
else:
    df[new_col] += [int(a != 0) for a in df[col]]
How to process column names and create new columns