IBM Watson Data & AI - Structured Ideas

Welcome to the idea forum for IBM Watson Data & AI — our team welcomes any feedback, requests, and suggestions you have for improving our products! 

This forum allows us to connect your product improvement ideas with IBM product and engineering teams. 

Include personal functions library

A simple way to import an other notebook functions in a notebook or a script with defined functions easily.

  • Victor
  • Aug 17 2017
  • Under Consideration
Role Summary
  • Attach files
    September 27, 2017 12:44

    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

  • Adam Massachi commented
    September 27, 2017 19:08

    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 

  • Adam Massachi commented
    October 2, 2017 14:46
  • stephen Hall commented
    December 19, 2017 21:50

    It would be great to have the possibility to add our personal library to include function we use the most

  • Philippe GREGOIRE commented
    August 28, 2018 14:56

    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