colnames

0th

Percentile

Returns the column names of an H2OFrame

Returns the column names of an H2OFrame

Usage
colnames(x, do.NULL = TRUE, prefix = "col")
Arguments
x

An H2OFrame object.

do.NULL

logical. If FALSE and names are NULL, names are created.

prefix

for created names.

Aliases
  • colnames
Examples
# NOT RUN {
h2o.init()
iris_hf <- as.h2o(iris)
colnames(iris_hf)  # Returns "Sepal.Length" "Sepal.Width"  "Petal.Length" "Petal.Width"  "Species"
# }
Documentation reproduced from package h2o, version 3.26.0.2, License: Apache License (== 2.0)

Community examples

Looks like there are no examples yet.