powered by
Returns the column names of an H2OFrame
colnames(x, do.NULL = TRUE, prefix = "col")
An H2OFrame object.
logical. If FALSE and names are NULL, names are created.
for created names.
if (FALSE) { library(h2o) h2o.init() iris_hf <- as.h2o(iris) colnames(iris_hf) # Returns "Sepal.Length" "Sepal.Width" "Petal.Length" "Petal.Width" "Species" }
Run the code above in your browser using DataLab