powered by
Extract unique values in the column.
h2o.unique(x, include_nas = FALSE)
Returns an H2OFrame object.
An H2OFrame object.
If set to TRUE, NAs are included. FALSE (turned off) by default.
if (FALSE) { library(h2o) h2o.init() f <- "https://h2o-public-test-data.s3.amazonaws.com/smalldata/iris/iris_wheader.csv" iris <- h2o.importFile(f) h2o.unique(iris["class"]) }
Run the code above in your browser using DataLab