Forum Discussion
Import (function) notebook into own nootbook
Hi Thomas_R
Apologies for the delay in response.
The other alternative possible solution is Notebook Resources (Alternative approach) but the recommended possible solution is Custom Libraries with Wheels (Recommended Approach).
Notebook Resources:
Pros:
- Simple setup: Just place the function notebook in a designated folder for import.
- Function context: Functions stay close to the main notebook for easier reference.
Cons:
- No explicit version control: Changes in the function notebook impact all notebooks using it.
- Limited scope: Not ideal for functions used across different projects or workspaces.
Recommendation:
- Choose Custom Libraries with Wheels if:
- You need strict version control for your functions.
- You have a large set of reusable functions.
- You want to share functions across different projects or workspaces.
- Choose Notebook Resources if:
- You want a quick and easy setup for function import.
- Your functions are tightly coupled with the main notebook.
- You don't need explicit version control or extensive function reusability.
Ultimately, the best approach depends on your specific workflow and how you prioritize version control, modularity, and ease of use.
I hope this information helps. Please do let us know if you have any further questions.
Thanks
Hi Thomas_R
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet.
In case if you have any resolution please do share that same with the community as it can be helpful to others.
Otherwise, will respond back with the more details and we will try to help.
Thanks