Ready for Dataiku 10? Try out the Crash Course on new features!GET STARTED

Folding Array with Index

Chun
Level 1
Folding Array with Index
The fold array step in Prep Recipe is very useful. I would like to create a new column to keep track of the folded array element, basically to store the array index in a new column. How do I do it in code?
1 Reply
Alan_Fusté
Level 3
Level 3
Hi,

I would create a Python (or R) recipe to do that... I think that with the Formula action you can only interact with columns (in each row) but not with rows 😞
0 Kudos

Labels

?
Labels (3)
A banner prompting to get Dataiku DSS