x_scaled = (x - mean)/sigma, where mean is the mean value of column, sigma is the standard variance.

    Script

    Result

    col1 vec
    a -0.07835182408093559,1.4595814453461897
    c 1.2269606224811418,-0.6520885789229323
    b -0.2549018445693762,-0.4814485769617911
    a -0.20280511721213143,-0.6520885789229323
    c 1.237090541689495,-0.6520885789229323
    b -0.25924323851581327,-0.4814485769617911
    d -1.6687491397923802,1.4595814453461897