def transform(self, X):
        if not hasattr(self, "col_means"):
            raise AttributeError("MeanCenterer has not been fitted, yet.")
        X_tr = np.copy(self._get_array(X))
        X_tr = np.apply_along_axis(func1d=lambda x: x - self.col_means,
                                   axis=1, arr=X_tr)
        return X_tr
The boundary or frontier of a set
dataset/ETHPy150Open rasbt/mlxtend/mlxtend/preprocessing/mean_centering.py/MeanCenterer.transform--crossover with--dataset/ETHPy150Open sympy/sympy/sympy/sets/sets.py/Set.boundary