h2o-py/h2o/frame.py
def rbind(self, data):
        """
        Append data to this frame row-wise.

        :param data: an H2OFrame or a list of H2OFrame's to be combined with current frame row-wise.
        :returns: this H2OFrame with all frames in data appended row-wise.
        """
        assert_is_type(data, H2OFrame, [H2OFrame])
        frames = [data] if not isinstance(data, list) else data
        for frame in frames:
            if frame.ncol != self.ncol:
                raise H2OValueError("Cannot row-bind a dataframe with %d columns to a data frame with %d columns: "
                                    "the columns must match" % (frame.ncol, self.ncol))
            if frame.columns != self.columns or frame.types != self.types:
                raise H2OValueError("Column names and types must match for rbind() to work")
        fr = H2OFrame._expr(expr=ExprNode("rbind", self, *frames), cache=self._ex._cache)
        fr._ex._cache.nrows = self.nrow + sum(frame.nrow for frame in frames)
        return fr
def rbind(self, data):
        assert_is_type(data, H2OFrame, [H2OFrame])
        frames = [data] if not isinstance(data, list) else data
        for frame in frames:
            if frame.ncol != self.ncol:
                raise H2OValueError("Cannot row-bind a dataframe with %d columns to a data frame with %d columns: "
                                    "the columns must match" % (frame.ncol, self.ncol))
            if frame.columns != self.columns or frame.types != self.types:
                raise H2OValueError("Column names and types must match for rbind() to work")
        fr = H2OFrame._expr(expr=ExprNode("rbind", self, *frames), cache=self._ex._cache)
        fr._ex._cache.nrows = self.nrow + sum(frame.nrow for frame in frames)
        return fr
def rbind ( self , data ) : assert_is_type ( data , H2OFrame , [ H2OFrame ] ) frames = [ data ] if not isinstance ( data , list ) else data for frame in frames : if frame . ncol != self . ncol : raise H2OValueError ( "Cannot row-bind a dataframe with %d columns to a data frame with %d columns: " "the columns must match" % ( frame . ncol , self . ncol ) ) if frame . columns != self . columns or frame . types != self . types : raise H2OValueError ( "Column names and types must match for rbind() to work" ) fr = H2OFrame . _expr ( expr = ExprNode ( "rbind" , self , * frames ) , cache = self . _ex . _cache ) fr . _ex . _cache . nrows = self . nrow + sum ( frame . nrow for frame in frames ) return fr
Append data to this frame row-wise.

        :param data: an H2OFrame or a list of H2OFrame's to be combined with current frame row-wise.
        :returns: this H2OFrame with all frames in data appended row-wise.
Append data to this frame row - wise .