Description Usage Arguments Value
Group by operation in the input array using n.columns.key columns as group keys and n.columns.value columns as values. The data is expected to be sorted. The aggregation function determines the operation to aggregate the values.
1 2 | GroupBy(arr, aggregation.function, n.columns.key = 1,
n.columns.value = 1)
|
arr |
KHIVA Array with the time series. |
aggregation.function |
Function to be used in the aggregation. It receives an integer which indicates the function to be applied: 0 : mean, 1 : median 2 : min, 3 : max, 4 : stdev, 5 : var, default : mean |
n.columns.key |
Number of columns conforming the key. |
n.columns.value |
Number of columns conforming the value (they are expected to be consecutive to the column keys). |
KHIVA Array with the values of the group keys aggregated using the aggregation_function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.