Script
If you intend to employ Python code within the dataflow for data transformation before exporting it from CDP 365, this document will be beneficial to you.
Last updated
If you intend to employ Python code within the dataflow for data transformation before exporting it from CDP 365, this document will be beneficial to you.
Last updated
For reference to the node, please consult the image provided below:
Note: After the Script node cannot add another node.
It has 3 zones:
Zone 1 outlines the attributes prepared for transformation
Zone 2 places your Python code within it
Zone 3 involves modifying the coding theme and default fields of CDP 365.
For reference to the transforming result, please consult the code below:
Before executing the code, it's essential to preview it beforehand to ensure that the data is prepared for transformation within the Script node.
Kindly click the "Preview" button for this purpose.
Once you've successfully previewed the data and confirmed its accuracy, you can proceed to run the code. Kindly click the "Test" button to do so.
Upon executing the code, a banner will appear from the lower-left corner of your screen. Kindly inspect this banner to monitor the status of the execution.
Note: After the Script node cannot add another node.