def treat_X_tradcom(mean):
    """ treat some columns of the dataframe together when normalizing the dataframe:
        col. 1, 2, 4 ... Mkt Price, Bid price, Ask Price
        col 3 and 5 ... Ask & Bid price
    """ 

    result = mean.copy()
    #print("Result before max",result)

    mkt = mean[1]
    bid_px = mean[2]
    ask_px = mean[4]
    px_max=max(mkt,bid_px,ask_px)

    result[1] = px_max
    result[2] = px_max
    result[4] = px_max


    bid = mean[3]
    ask = mean[5]
    ba_max=max(bid,ask)

    result[3] = ba_max
    result[5] = ba_max

    print("Result after max",result)