Dataiku Equivalent for SAS Retain
anthony
Partner, Registered Posts: 5 Partner
Is there a step or transformation within Dataiku that can be used as an alternative to the Retain step in SAS. In simple form SAS Retain step remembers the value of a particular column from a previous row and populates that in the current row
Answers
-
Manuel Alpha Tester, Dataiker Alumni, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Core Concepts, Dataiku DSS Adv Designer, Registered Posts: 193 ✭✭✭✭✭✭✭
Hi,
You can use a window recipe and the lag (or lagdiff) aggregator, which enables you to pull a value from a previous row.
Here is a video from our academy on the Window recipe: https://videos.dataiku.com/watch/N6GxBuLhAZuQ6wgV8zR53r?
I hope this helps.