Dataiku Maros using Python Scripts Help!

thuangs
Level 1
Dataiku Maros using Python Scripts Help!

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(&current_month+1). &current_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

0 Kudos
1 Reply
Jurre
Level 5

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! 

0 Kudos