Group Data¶
Function¶
This Step groups elements within a data list by index list. Multiple input ports can be set to perform grouping operations with the same index list within each data list at the same time. If the index list is [[0, 2], [1, 3, 4]] and the input data is [100, 20, 300, 40, 500], the output is [[100, 300], [20, 40, 500 ]].
Usage Scenario¶
This Step is a general data sorting Step.
Input and Output¶
Input:
Index list input at this port will be used for grouping.
Data input to this port will be grouped.
Output:
Grouped data.