Scripting activity

You can execute a customized Python script to perform a preprocessing activity that is not available in the Coleman AI catalog.

Add the Scripting activity in the flow to execute a variety of tasks not offered in the pre-built modules of preprocessing activities, by executing Python scripts.

For a list of available pre-installed scripting libraries, see Scripting libraries.

Optionally, you can install additional libraries, but everything must be packed with the script or supplied as input datasets.

Use these scripting code guidelines:

  • Choose the right names for variables, functions, methods, packages, and modules.
  • Use four spaces per indentation level.
  • Structure your repository properly.
  • Follow common style guidelines.
  • Do not forget to comment your code.