class_docstr: Perform a column operation. If inplace is True, then cbind the result onto original frame,
  otherwise, perform the operation in place.
class_docstr_tok: ["Perform","a","column","operation",".","If","inplace","is","True",",","then","cbind","the","result","onto","original","frame",",","otherwise",",","perform","the","operation","in","place","."]
code: def _transform_helper(self, X, **params):
      if not self.params:
          if self.col is not None:
              res = self.fun(X[self.col])
          else:
              res = self.fun(X)
      else:
          if self.col is not None:
              res = self.fun(X[self.col], **self.params)
          else:
              res = self.fun(X, **self.params)
      return res
  
imports: import warnings
  from .transform_base import H2OTransformer
label_desc: Use image node_id 4 for calling the H2OColOp obj's underlying member method code with example usage: obj._transform_helper(X) and returns: res