<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Import (function) notebook into own nootbook in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Import-function-notebook-into-own-nootbook/m-p/3628946#M472</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/662133"&gt;@Thomas_R&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet.&lt;BR /&gt;In case if you have any resolution please do share that same with the community as it can be helpful to others.&lt;BR /&gt;Otherwise, will respond back with the more details and we will try to help.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jan 2024 07:37:49 GMT</pubDate>
    <dc:creator>v-cboorla-msft</dc:creator>
    <dc:date>2024-01-10T07:37:49Z</dc:date>
    <item>
      <title>Import (function) notebook into own nootbook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Import-function-notebook-into-own-nootbook/m-p/3588371#M466</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to import one nootbook into another and at the same time have easy version control?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My purpos is to have a function-nootbook I can create a lot of usefull functions (and if you have some good scripts you want to share, feel free to also post a link to those &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; ). I want to import that function-nootbook into all my other noethooks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only way I've found wich works, is to upload a Wheels notebook into&amp;nbsp;"Custom Libraries". In this way, there are a step to make sure to upload the notebook each time, insted of just saving it in the workspace, and have the build-in version control&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you can help&lt;/P&gt;&lt;P&gt;/Thomas&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2023 08:13:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Import-function-notebook-into-own-nootbook/m-p/3588371#M466</guid>
      <dc:creator>Thomas_R</dc:creator>
      <dc:date>2023-12-18T08:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Import (function) notebook into own nootbook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Import-function-notebook-into-own-nootbook/m-p/3590591#M467</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/662133"&gt;@Thomas_R&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for uisng Microsoft Fabric Community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-sourcepos="1:1-1:147"&gt;You're right, importing one notebook into another in Fabric with built-in version control isn't straightforward. One of the best approach is using Custom Libraries with Wheels.&lt;/P&gt;
&lt;P data-sourcepos="3:1-3:36"&gt;&lt;STRONG&gt;Custom Libraries with Wheels:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL data-sourcepos="5:1-11:0"&gt;
&lt;LI data-sourcepos="5:1-7:63"&gt;&lt;STRONG&gt;Pros:&lt;/STRONG&gt;
&lt;UL data-sourcepos="6:5-7:63"&gt;
&lt;LI data-sourcepos="6:5-6:53"&gt;Works for importing functions across notebooks.&lt;/LI&gt;
&lt;LI data-sourcepos="7:5-7:63"&gt;Provides version control through custom library versions.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI data-sourcepos="8:1-11:0"&gt;&lt;STRONG&gt;Cons:&lt;/STRONG&gt;
&lt;UL data-sourcepos="9:5-11:0"&gt;
&lt;LI data-sourcepos="9:5-9:78"&gt;Requires manually uploading the updated notebook to create new versions.&lt;/LI&gt;
&lt;LI data-sourcepos="10:5-11:0"&gt;Can be cumbersome if you update functions frequently.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Meanwhile we will reach out to the internal team to check for any other alternative approaches.&lt;/P&gt;
&lt;P&gt;We will update you once we hear back from them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2023 07:33:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Import-function-notebook-into-own-nootbook/m-p/3590591#M467</guid>
      <dc:creator>v-cboorla-msft</dc:creator>
      <dc:date>2023-12-19T07:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Import (function) notebook into own nootbook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Import-function-notebook-into-own-nootbook/m-p/3598095#M468</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/662133"&gt;@Thomas_R&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet.&lt;BR /&gt;In case if you have any resolution please do share that same with the community as it can be helpful to others.&lt;BR /&gt;Otherwise, will respond back with the more details and we will try to help.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2023 05:44:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Import-function-notebook-into-own-nootbook/m-p/3598095#M468</guid>
      <dc:creator>v-cboorla-msft</dc:creator>
      <dc:date>2023-12-22T05:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Import (function) notebook into own nootbook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Import-function-notebook-into-own-nootbook/m-p/3598373#M469</link>
      <description>&lt;P&gt;Thanks for the clarification. If there are a better way layer on, please let me know &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2023 07:54:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Import-function-notebook-into-own-nootbook/m-p/3598373#M469</guid>
      <dc:creator>Thomas_R</dc:creator>
      <dc:date>2023-12-22T07:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Import (function) notebook into own nootbook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Import-function-notebook-into-own-nootbook/m-p/3605186#M470</link>
      <description>&lt;P&gt;Still waiting for you to get back to me for other possible soultuoins &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 10:09:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Import-function-notebook-into-own-nootbook/m-p/3605186#M470</guid>
      <dc:creator>Thomas_R</dc:creator>
      <dc:date>2023-12-28T10:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Import (function) notebook into own nootbook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Import-function-notebook-into-own-nootbook/m-p/3623439#M471</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/662133"&gt;@Thomas_R&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apologies for the delay in response.&lt;/P&gt;
&lt;P&gt;The other alternative possible solution is&amp;nbsp;&lt;STRONG&gt;Notebook Resources&amp;nbsp;&lt;/STRONG&gt;(Alternative approach) but the recommended possible solution is&amp;nbsp;&lt;STRONG&gt;Custom Libraries with Wheels &lt;/STRONG&gt;(Recommended Approach).&lt;/P&gt;
&lt;P data-sourcepos="16:1-16:23"&gt;&lt;STRONG&gt;Notebook Resources:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P data-sourcepos="18:1-18:9"&gt;&lt;STRONG&gt;Pros:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL data-sourcepos="20:1-22:60"&gt;
&lt;LI data-sourcepos="20:1-20:87"&gt;&lt;STRONG&gt;Simple setup:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;Just place the function notebook in a designated folder for import.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-sourcepos="21:1-21:87"&gt;&lt;STRONG&gt;Function context:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;Functions stay close to the main notebook for easier reference.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-sourcepos="24:1-24:9"&gt;&lt;STRONG&gt;Cons:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL data-sourcepos="26:1-30:0"&gt;
&lt;LI data-sourcepos="26:1-26:98"&gt;&lt;STRONG&gt;No explicit version control:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;Changes in the function notebook impact all notebooks using it.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-sourcepos="27:1-27:138"&gt;&lt;STRONG&gt;Limited scope:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;Not ideal for functions used across different projects or workspaces.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-sourcepos="31:1-31:19"&gt;&lt;STRONG&gt;Recommendation:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL data-sourcepos="33:1-41:0"&gt;
&lt;LI data-sourcepos="33:1-36:74"&gt;&lt;STRONG&gt;Choose Custom Libraries with Wheels if:&lt;/STRONG&gt;
&lt;UL data-sourcepos="34:5-36:74"&gt;
&lt;LI data-sourcepos="34:5-34:57"&gt;&lt;SPAN&gt;You need strict version control for your functions.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-sourcepos="35:5-35:49"&gt;&lt;SPAN&gt;You have a large set of reusable functions.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-sourcepos="36:5-36:74"&gt;&lt;SPAN&gt;You want to share functions across different projects or workspaces.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI data-sourcepos="37:1-41:0"&gt;&lt;STRONG&gt;Choose Notebook Resources if:&lt;/STRONG&gt;
&lt;UL data-sourcepos="38:5-41:0"&gt;
&lt;LI data-sourcepos="38:5-38:58"&gt;&lt;SPAN&gt;You want a quick and easy setup for function import.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-sourcepos="39:5-39:64"&gt;&lt;SPAN&gt;Your functions are tightly coupled with the main notebook.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-sourcepos="40:5-41:0"&gt;&lt;SPAN&gt;You don't need explicit version control or extensive function reusability.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;Ultimately, the best approach depends on your specific workflow and how you prioritize version control, modularity, and ease of use.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope this information helps. Please do let us know if you have any further questions.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 16:13:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Import-function-notebook-into-own-nootbook/m-p/3623439#M471</guid>
      <dc:creator>v-cboorla-msft</dc:creator>
      <dc:date>2024-01-08T16:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Import (function) notebook into own nootbook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Import-function-notebook-into-own-nootbook/m-p/3628946#M472</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/662133"&gt;@Thomas_R&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet.&lt;BR /&gt;In case if you have any resolution please do share that same with the community as it can be helpful to others.&lt;BR /&gt;Otherwise, will respond back with the more details and we will try to help.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 07:37:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Import-function-notebook-into-own-nootbook/m-p/3628946#M472</guid>
      <dc:creator>v-cboorla-msft</dc:creator>
      <dc:date>2024-01-10T07:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Import (function) notebook into own nootbook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Import-function-notebook-into-own-nootbook/m-p/3631849#M473</link>
      <description>&lt;P&gt;We do this all the time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a notebook called common_functions in which we can use in the parent notebook.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You will have to call the functions notebook this way in order to have the functions/variables in the session memory:&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;%run common_functions&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you run the child notebook this way, it will create a new session and you can't reference the child notebook functions in the parent notebook:&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;mssparkutils.notebook.run("notebook", params)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 03:12:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Import-function-notebook-into-own-nootbook/m-p/3631849#M473</guid>
      <dc:creator>12angrymentiger</dc:creator>
      <dc:date>2024-01-11T03:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Import (function) notebook into own nootbook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Import-function-notebook-into-own-nootbook/m-p/3997865#M2613</link>
      <description>&lt;P&gt;Following&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 08:49:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Import-function-notebook-into-own-nootbook/m-p/3997865#M2613</guid>
      <dc:creator>Nashrin</dc:creator>
      <dc:date>2024-06-18T08:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Import (function) notebook into own nootbook</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Import-function-notebook-into-own-nootbook/m-p/3997918#M2615</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I have a specific use case where I need a DataFrame in return after running the parent notebook. Is ther any suggested way to handle this type of scenarios.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 09:26:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Import-function-notebook-into-own-nootbook/m-p/3997918#M2615</guid>
      <dc:creator>Nashrin</dc:creator>
      <dc:date>2024-06-18T09:26:05Z</dc:date>
    </item>
  </channel>
</rss>

