Icon

4.Group Loop

<p><strong>Loop on Groups of Data</strong></p><p>This workflow implements an example of a loop over a list of unique data groups using the <em>Group Loop Start</em> node. The goal of this workflow is the same as in the previous workflow "3. Loop on a List of Values": Calculate some statistics on sold products for each of the countries present in the <em>sales.csv</em> dataset.</p><p>In this case, the <em>Group Loop Start</em> node works more efficient as it is able to identify the unique groups and filter it respectively.</p>

Workflow: Loop on Groups of Data


This workflow implements an example of a loop over a list of unique data groups using the Group Loop Start node. The goal of this workflow is the same as in the previous workflow "3. Loop on a List of Values": Calculate some statistics on sold products for each of the countries present in the sales.csv dataset.

In this case, the Group Loop Start node works more efficient as it is able to identify the unique groups and filter it respectively.

Reading data

Loop body

Stats on numericals
Variable to Table Column
Stats on nominals
Variable to Table Column
Statistics
Group column:country
Group Loop Start
sales.csv
CSV Reader
Collect stats forall iterations (countries)
Loop End

Nodes

Extensions

Links