Dataiku Maros using Python Scripts Help!
![thuangs](https://us.v-cdn.net/6038231/uploads/Dataiku/nAvatar14.png)
Hi, can someone please share Python scripts examples to convert SAS macros to Dataiku. I am looking for 2 types of macros scripts using Python
1). Macros that generate some SAS programming language code which can span across SAS statements or steps
2). Macros that generate some string values which can be used as part of SAS programming language code or data values, but they are not complete SAS statements or steps. This tape doesn't generate any SAS executable code , just a value. For example, next_month=%EVAL(¤t_month+1). ¤t_month is macro variable but through %evaluation function, we can use it to calculate a value. How to do this in Python scripts that can be used in Dataiku
Thank you. Much appreciated.
KH
Operating system used: Windows 10
Answers
-
Jurre Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts, Registered, Dataiku DSS Developer, Neuron 2022 Posts: 114 ✭✭✭✭✭✭✭
Hi @thuangs
, welcome to the community!Dataiku integrates great with python ,so does SAS. If your not sure with code try the visual approach here!