Export

An .ipynb file can be exported to the Data Pipeline module by using this option.

Check out the given illustration on how to export an .ipynb file to Data Pipeline module.

Please Note: Only the .ipynb files will have Export, Register, and Delete options available to them under a Repo Sync Project. All other types of files will support only Delete option.

  • Navigate to the Notebook within a Repo Sync Project.

  • Click the Ellipsis icon for a .ipynb file to open the context menu with more options.

  • Select the Export option from the file context menu.

  • The Export to Pipeline/Git dialog box opens.

  • Select the Export to Pipeline option using the checkbox.

  • Select a specific function using another checkbox (The user may also select the Select All option using the given checkbox).

  • Click the Next option.

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

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

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

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

  • 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 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 displays 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.

Please Note:

  • Refer the Data Science Lab Quick Start Flow page to get an overview of the Data Science Lab module in nutshell.

  • The Export to Git option will be disabled for the .inpynb files saved under a Repo Sync Project.

Last updated