For loop

Description

This brick is used to iterate through the dataset in case if you want to process each row or each unique group separately.

Use

You can select have 2 ways how to iterate through your dataset:
  • by iterating through distinct columns
  • by iterating each row
notion image
Inside the for loop brick, you can put your own pipeline that will be executed on each iteration.
 
You need to connect internal bricks with inputs and outputs on the edges of the screen. The top input/output has a data type and the bottom one has a model type.
notion image
 
It's possible to have for loop inside another for loop or inside the pipeline.