Export

The Export icon provided for a Notebook redirects the user to export the Notebook to the Data Pipeline module and GIT Repository.

Export to Pipeline

Exporting a Notebook

A Notebook can be exported to the Data Pipeline module using this option.

  • Navigate to the Repo folder and select a Notebook from the Workspace tab.

  • Click the Ellipsis icon for the selected Notebook to open the context menu.

  • Click the Export option for the Notebook.

  • The Export to Pipeline dialog box opens.

  • Select a specific function using another checkbox.

  • Click the Next option.

Please Note: The user must write a function to use the Export to Pipeline functionality.

  • The next screen will appear with the selected script, click the Validate icon.

  • A confirmation message appears to inform the user if the script is valid.

  • The Export to Pipeline option gets enabled, click the Export to Pipeline option.

  • A notification message appears to ensure that the Notebook script is exported.

  • Navigate to a Data Pipeline containing the DS Lab Runner component.

  • Open the Meta Information tab of the DS Lab Runner component.

  • Select the required information as given below to access the exported script:

    • Execution Type: Select the Script Runner option.

    • Function Input Type: Select one option out of the given options: Data Frame or List.

    • Project Name: Select the Project name using the drop-down menu.

    • Script Name: Select the script name using the drop-down menu.

    • External Library: Mention the external library.

    • Start Function: Select a function name using the drop-down menu.

  • The exported Script is displayed under the Script section.

Export External Libraries

The user can also export External Libraries used in the project along with scripts.

  • The Libraries panel opens.

  • Select the necessary libraries using the provided checkboxes to export them along with the scripts.

Remember to close the Libraries drawer after selecting the required scripts and use the Export to Pipeline option provided on the Export to Pipeline/ Git drawer to complete the action.

Last updated