Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Hi Dataikers!
I want to know if there is a way in visual recipes to use the value from the previous row to compute the next row and do it iteratively to cover the whole column?
I'm sure It can be done in python but I want to know about Dataiku.
Thank you!
Hi,
You can use the Window recipe and generate a "lag" column that will take the "previous" value of another column with respect to an ordering column you will specify (in your case, probably Group_ID).
You can find a more detailed example of the Window recipe here.
Best,
Harizo