Pivot the frame designated by the three columns: index, column, and value. Index and column should be of type enum, int, or time. For cases of multiple indexes for a column label, the aggregation method is to pick the first occurrence in the data frame
h2o.melt(
x,
id_vars,
value_vars = NULL,
var_name = "variable",
value_name = "value",
skipna = FALSE
)
an unpivoted H2OFrame
an H2OFrame
the columns used as identifiers
what columns will be converted to key-value pairs (optional, if not specified complement to id_vars will be used)
name of the key-column (default: "variable")
name of the value-column (default: "value")
if enabled, do not include NAs in the result (default: FALSE)