"Importing" functions from other notebooks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2015 12:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2015 06:15 PM
This is something I've been grappling with as well. My current 'solution' is to have separate notebooks with a function in each one (organized in a 'Functions' directory). Then I load the function into memory in another notebook by loading that notebook with single function.
It's not very elegant but at least the function called exists only in a single location.
I'd like to know if there is better way to do this. My current implementation is workable but far from the ideal.
Edit: this is the forum question/answer concerning the loading of a notebook within a notebook: https://forums.databricks.com/questions/154/can-i-run-one-notebook-from-another-notebook.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2019 08:18 AM
it is too old thread but @Rich Iannone can we have the code i mean how you have done it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2020 08:41 AM
Old thread, but I wrote a module to do just this. Check it out: https://pypi.org/project/libify/
(Utilizes dbutils.notebook.run, so doesn't work with the Databricks community edition)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2021 04:55 AM
<a href="https://managementassignmentshelp.com/risk-management-assignment-help.php ">Risk Management Assignment Help </a>
<a href="https://myassignmentmart.com/assignment/material-science-assignment-help.html "> Material Science assignment help </a>
<a href="https://matlabassignment.com/matlab-assignment-help.html ">Matlab Assignment Help in Australia </a>

