<?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 Automatically importing packages in notebooks in Warehousing &amp; Analytics</title>
    <link>https://community.databricks.com/t5/warehousing-analytics/automatically-importing-packages-in-notebooks/m-p/48033#M996</link>
    <description>&lt;P&gt;Within our team, there are certain (custom) python packages we always use and import in the same way. When starting a new notebook or analysis, we have to import these packages every time. Is it possible to automatically make these imports available for all notebooks on a cluster?&lt;/P&gt;</description>
    <pubDate>Wed, 04 Oct 2023 09:19:01 GMT</pubDate>
    <dc:creator>Kaz</dc:creator>
    <dc:date>2023-10-04T09:19:01Z</dc:date>
    <item>
      <title>Automatically importing packages in notebooks</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/automatically-importing-packages-in-notebooks/m-p/48033#M996</link>
      <description>&lt;P&gt;Within our team, there are certain (custom) python packages we always use and import in the same way. When starting a new notebook or analysis, we have to import these packages every time. Is it possible to automatically make these imports available for all notebooks on a cluster?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 09:19:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/automatically-importing-packages-in-notebooks/m-p/48033#M996</guid>
      <dc:creator>Kaz</dc:creator>
      <dc:date>2023-10-04T09:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically importing packages in notebooks</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/automatically-importing-packages-in-notebooks/m-p/48129#M998</link>
      <description>&lt;P&gt;is it an option to put the imports in a separate notebook and call that notebook using %run?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 11:52:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/automatically-importing-packages-in-notebooks/m-p/48129#M998</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2023-10-04T11:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically importing packages in notebooks</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/automatically-importing-packages-in-notebooks/m-p/48136#M999</link>
      <description>&lt;P&gt;Definitely already an improvement! But it would be even better if we don't have to type the %run in each notebook.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 12:44:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/automatically-importing-packages-in-notebooks/m-p/48136#M999</guid>
      <dc:creator>Kaz</dc:creator>
      <dc:date>2023-10-04T12:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically importing packages in notebooks</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/automatically-importing-packages-in-notebooks/m-p/48388#M1004</link>
      <description>&lt;P&gt;I don't see how that is possible as the imports are part of the program.&amp;nbsp; Somewhere you will have to type them.&lt;BR /&gt;Even if it were possible, I would advise against it.&amp;nbsp; Imports should be stated explicitly and be traceable in case something does not work as expected f.e.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 13:42:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/automatically-importing-packages-in-notebooks/m-p/48388#M1004</guid>
      <dc:creator>-werners-</dc:creator>
      <dc:date>2023-10-05T13:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically importing packages in notebooks</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/automatically-importing-packages-in-notebooks/m-p/48532#M1006</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/90709"&gt;@Kaz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can install these libraries using the Libraries section in the Compute.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TharunKumar_0-1696567166528.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/4305iE77A07A600700E11/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TharunKumar_0-1696567166528.png" alt="TharunKumar_0-1696567166528.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;All of the libraries mentioned here would be installed whenever the cluster is spun up.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 04:40:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/automatically-importing-packages-in-notebooks/m-p/48532#M1006</guid>
      <dc:creator>Tharun-Kumar</dc:creator>
      <dc:date>2023-10-06T04:40:05Z</dc:date>
    </item>
  </channel>
</rss>

