The Python transformation includes the components that allow you to run a Python script on the data that you pass to the transformation.
The Python transformation contains the following components:
Resource File
A file that contains the resources that you access in the Python code.
The file can be a pre-trained model that has been trained on a larger data set outside the Developer tool. You can use the pre-trained model to classify data or make predictions based on the data that you pass to the Python transformation. You can access the pre-trained model in the Python code.
Python Code
The Python script that the Python transformation uses to process data that you pass to the Python transformation. When you write Python code, you might reconstruct input variables, load a pre-trained model, and define output variables.