

def transform(self, data):
    'standardize the data using the stored transformation\n\n        '
    if (self.mean is None):
        return (np.asarray(data) / self.scale)
    else:
        return ((np.asarray(data) - self.mean) / self.scale)

dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/tools/transform_model.py StandardizeTransform.transform/original