This Ideas portal is being closed. Please enter new idea at http://ibm.biz/IBMAnalyticsIdeasPortal
A simple way to import an other notebook functions in a notebook or a script with defined functions easily.
I am working on a demo with multiple notebooks, and I really need this. For instance to keep all loading and cleaning of data in one notebook as functions, and call them from other notebooks to do the analysis. Without this functionality mistakes are easily made as having to maintain the same code in more than one place
This can be done by writing the functions to a file in your working directory, and then simply importing them into another notebook. Greg and I explained how to do this in #winroom
https://stackoverflow.com/questions/4142151/how-to-import-the-class-within-the-same-directory-or-sub-directory^^ will work with the DSX file system
It would be great to have the possibility to add our personal library to include function we use the most
Using local (to the currect VM) .ipynb files is not practical as the filesystem is not persistent.We should be able to %include another notebook from COS and run it
You won't be notified about changes to this idea.