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.pivot(x, index, column, value)
x | an H2OFrame |
---|---|
index | the column where pivoted rows should be aligned on |
column | the column to pivot |
value | values of the pivoted table |
An H2OFrame with columns from the columns arg, aligned on the index arg, with values from values arg