code: def fit(self, X, y=None, **fit_params):
          
          if self.transform_type not in self.valid_transforms:
                  warnings.warn("Invalid transform type.", stacklevel=2)
          return self
docs: Fit Unary Math Operator
          :param y:
          :return: