@experimental(as_of="0.4.0")
def scale(a, weights=None, with_mean=True, with_std=True, ddof=0, copy=True):
    if copy:
        a = a.copy()
    a = np.asarray(a, dtype=np.float64)
    avg, std = mean_and_std(a, axis=0, weights=weights, with_mean=with_mean,
                            with_std=with_std, ddof=ddof)
    if with_mean:
        a -= avg
    if with_std:
        std[std == 0] = 1.0
        a /= std
    return a
@returns: a string representing this rectangle
dataset/ETHPy150Open biocore/scikit-bio/skbio/stats/ordination/_utils.py/scale--crossover with--dataset/ETHPy150Open bolme/pyvision/src/pyvision/types/Rect.py/Rect.__str__