class_docstr: The H2OAssembly class can be used to specify multiple frame operations in one place.
  
  :returns: a new H2OFrame.
  
  :example:
  
  >>> iris = h2o.load_dataset("iris")
  >>> from h2o.assembly import *
  >>> from h2o.transforms.preprocessing import *
  >>> assembly = H2OAssembly(steps=[("col_select",
  ...                                H2OColSelect(["Sepal.Length", "Petal.Length", "Species"])),
  ...                               ("cos_Sepal.Length",
  ...                                H2OColOp(op=H2OFrame.cos, col="Sepal.Length", inplace=True)),
  ...                               ("str_cnt_Species",
  ...                                H2OColOp(op=H2OFrame.countmatches,
  ...                                col="Species",
  ...                                inplace=False, pattern="s"))])
  >>> result = assembly.fit(iris)  # fit the assembly and perform the munging operations
  >>> result
   Sepal.Length    Petal.Length     Species     Species0
  --------------  --------------  -----------  ----------
     0.377978           1.4       Iris-setosa       3
     0.186512           1.4       Iris-setosa       3
    -0.0123887          1.3       Iris-setosa       3
    -0.112153           1.5       Iris-setosa       3
     0.283662           1.4       Iris-setosa       3
     0.634693           1.7       Iris-setosa       3
    -0.112153           1.4       Iris-setosa       3
     0.283662           1.5       Iris-setosa       3
    -0.307333           1.4       Iris-setosa       3
     0.186512           1.5       Iris-setosa       3
  [150 rows x 4 columns]
  
  
  In this example, we first load the iris frame. Next, the following data munging operations are performed on the
  iris frame:
  
      1. select only three out of the five columns;
      2. take the cosine of the column "Sepal.Length" and replace the original column with the cosine of the column;
      3. count the number of rows with the letter "s" in the class column. Since ``inplace=False``,
         a new column is generated to hold the result.
  
  Extension class of Pipeline implementing additional methods:
  
     - ``to_pojo``: Exports the assembly to a self-contained Java POJO used in a per-row, high-throughput environment.
  
  Additionally, H2OAssembly provides a few static methods that perform element to element operations between
  two frames. They all are called as:
  
  >>> H2OAssembly.op(frame1, frame2)
  
  where ``frame1, frame2`` are H2OFrames of the same size and same column types. It will return an H2OFrame
  containing the element-wise result of operation op. The following operations are currently supported:
  
      - divide
      - plus
      - multiply
      - minus
      - less_than
      - less_than_equal
      - equal_equal
      - not_equal
      - greater_than
      - greater_than_equal
class_docstr_tok: ["The","H2OAssembly","class","can","be","used","to","specify","multiple","frame","operations","in","one","place",".",":","returns",":","a","new","H2OFrame",".",":","example",":",">",">",">","iris","=","h2o.load_dataset","(","``","iris","''",")",">",">",">","from","h2o.assembly","import","*",">",">",">","from","h2o.transforms.preprocessing","import","*",">",">",">","assembly","=","H2OAssembly","(","steps=","[","(","``","col_select","''",",","...","H2OColSelect","(","[","``","Sepal.Length","''",",","``","Petal.Length","''",",","``","Species","''","]",")",")",",","...","(","``","cos_Sepal.Length","''",",","...","H2OColOp","(","op=H2OFrame.cos",",","col=","''","Sepal.Length","''",",","inplace=True",")",")",",","...","(","``","str_cnt_Species","''",",","...","H2OColOp","(","op=H2OFrame.countmatches",",","...","col=","''","Species","''",",","...","inplace=False",",","pattern=","''","s","''",")",")","]",")",">",">",">","result","=","assembly.fit","(","iris",")","#","fit","the","assembly","and","perform","the","munging","operations",">",">",">","result","Sepal.Length","Petal.Length","Species","Species0","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","-","--","--","--","--","--","0.377978","1.4","Iris-setosa","3","0.186512","1.4","Iris-setosa","3","-0.0123887","1.3","Iris-setosa","3","-0.112153","1.5","Iris-setosa","3","0.283662","1.4","Iris-setosa","3","0.634693","1.7","Iris-setosa","3","-0.112153","1.4","Iris-setosa","3","0.283662","1.5","Iris-setosa","3","-0.307333","1.4","Iris-setosa","3","0.186512","1.5","Iris-setosa","3","[","150","rows","x","4","columns","]","In","this","example",",","we","first","load","the","iris","frame",".","Next",",","the","following","data","munging","operations","are","performed","on","the","iris","frame",":","1.","select","only","three","out","of","the","five","columns",";","2.","take","the","cosine","of","the","column","``","Sepal.Length","''","and","replace","the","original","column","with","the","cosine","of","the","column",";","3.","count","the","number","of","rows","with","the","letter","``","s","''","in","the","class","column",".","Since","``","inplace=False","``",",","a","new","column","is","generated","to","hold","the","result",".","Extension","class","of","Pipeline","implementing","additional","methods",":","-","``","to_pojo","``",":","Exports","the","assembly","to","a","self-contained","Java","POJO","used","in","a","per-row",",","high-throughput","environment",".","Additionally",",","H2OAssembly","provides","a","few","static","methods","that","perform","element","to","element","operations","between","two","frames",".","They","all","are","called","as",":",">",">",">","H2OAssembly.op","(","frame1",",","frame2",")","where","``","frame1",",","frame2","``","are","H2OFrames","of","the","same","size","and","same","column","types",".","It","will","return","an","H2OFrame","containing","the","element-wise","result","of","operation","op",".","The","following","operations","are","currently","supported",":","-","divide","-","plus","-","multiply","-","minus","-","less_than","-","less_than_equal","-","equal_equal","-","not_equal","-","greater_than","-","greater_than_equal"]
docstr: Gives the column names.
  
  :returns: the specified column names.
  
  :examples:
  
  >>> iris = h2o.load_dataset("iris")
  >>> from h2o.assembly import *
  >>> from h2o.transforms.preprocessing import *
  >>> assembly = H2OAssembly(steps=[("col_select",
  ...                                H2OColSelect(["Sepal.Length", "Petal.Length", "Species"])),
  ...                               ("cos_Sepal.Length",
  ...                                H2OColOp(op=H2OFrame.cos, col="Sepal.Length", inplace=True)),
  ...                               ("str_cnt_Species",
  ...                                H2OColOp(op=H2OFrame.countmatches,
  ...                                col="Species",
  ...                                inplace=False, pattern="s"))])
  >>> result = assembly.fit(iris)
  >>> result.names
  [u'Sepal.Length', u'Petal.Length', u'Species', u'Species0']
docstr_tok: ["Gives","the","column","names",".",":","returns",":","the","specified","column","names",".",":","examples",":",">",">",">","iris","=","h2o.load_dataset","(","``","iris","''",")",">",">",">","from","h2o.assembly","import","*",">",">",">","from","h2o.transforms.preprocessing","import","*",">",">",">","assembly","=","H2OAssembly","(","steps=","[","(","``","col_select","''",",","...","H2OColSelect","(","[","``","Sepal.Length","''",",","``","Petal.Length","''",",","``","Species","''","]",")",")",",","...","(","``","cos_Sepal.Length","''",",","...","H2OColOp","(","op=H2OFrame.cos",",","col=","''","Sepal.Length","''",",","inplace=True",")",")",",","...","(","``","str_cnt_Species","''",",","...","H2OColOp","(","op=H2OFrame.countmatches",",","...","col=","''","Species","''",",","...","inplace=False",",","pattern=","''","s","''",")",")","]",")",">",">",">","result","=","assembly.fit","(","iris",")",">",">",">","result.names","[","u'Sepal.Length","'",",","u'Petal.Length","'",",","u'Species","'",",","u'Species0","'","]"]
code: def names(self):
      """
      Gives the column names.
  
      :returns: the specified column names.
  
      :examples:
  
      >>> iris = h2o.load_dataset("iris")
      >>> from h2o.assembly import *
      >>> from h2o.transforms.preprocessing import *
      >>> assembly = H2OAssembly(steps=[("col_select",
      ...                                H2OColSelect(["Sepal.Length", "Petal.Length", "Species"])),
      ...                               ("cos_Sepal.Length",
      ...                                H2OColOp(op=H2OFrame.cos, col="Sepal.Length", inplace=True)),
      ...                               ("str_cnt_Species",
      ...                                H2OColOp(op=H2OFrame.countmatches,
      ...                                col="Species",
      ...                                inplace=False, pattern="s"))])
      >>> result = assembly.fit(iris)
      >>> result.names
      [u'Sepal.Length', u'Petal.Length', u'Species', u'Species0']
      """
      return list(zip(*self.steps))[0][:-1]
  
file_path: h2o-3/h2o-py/h2o/assembly.py
imports: from h2o.utils.compatibility import *
  import os
  import uuid
  import h2o
  from h2o.frame import H2OFrame
  from h2o.transforms.transform_base import H2OTransformer
  from h2o.utils.shared_utils import quoted
  from h2o.utils.typechecks import assert_is_type
label_desc: Use image node_id 2 for calling the H2OAssembly obj's underlying member method code with example usage: obj.names() and returns: list