The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Want to different rows in differet iteration
Himanshu_Pant
Member Posts: 46 Learner II
in Help
Lets say I have a dataset containing 10 rows. I want do iteration over these rows. In first iteration I want first row as output, in the second iteration I want first two rows as output, in third iteration first three rows and so on. How can i achieve this.
0
Best Answer
-
MartinLiebig Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533 RM Data ScientistHi,i strongly advice to use proper set operations to do the transformation. Especially if your data set is not 10, but 10000 rows+.But you can use Generate ID, then Group Into Collection with this id and then Loop Collection to iterate over each row. A simple Loop examples with a Filter Example Range inside would also do it, but is slower than the Group Collection approac.Best,Martin- Sr. Director Data Solutions, Altair RapidMiner -
Dortmund, Germany1