I am using sklearn StandardScaler to transform/normalize data, as the following:
scaler = StandardScaler() data = scaler.fi