IBM Support

How to import another Notebook while running a job

How To


Summary

When you want to import the contents of A.ipynb into B.ipynb, the library "import_ipynb" is helpful. By using this library on JupyterLab, you can certainly import it. However, when B.ipynb is executed as a job, A.ipynb cannot be imported correctly. If you want to do something like this, you need to use the assets APIs to download the files into the Notebook runtime locally and then work from there. Here, this document introduces how to enable import even if B.ipynb is executed as a job.

Document Location

Worldwide

[{"Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSHGYS","label":"IBM Cloud Pak for Data"},"ARM Category":[{"code":"a8m50000000L1dGAAS","label":"Analyze-\u003EModels-\u003ENotebooks"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"3.0.1"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
16 December 2020

UID

ibm16382274