<?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: Python Databricks how to run all cells in another notebook except the last cell in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/python-databricks-how-to-run-all-cells-in-another-notebook/m-p/59080#M31332</link>
    <description>&lt;P&gt;I don't think this is possible. You can only complete a notebook.&amp;nbsp;&lt;BR /&gt;BTW curious to know what is the use-case here.&lt;/P&gt;</description>
    <pubDate>Fri, 02 Feb 2024 19:39:00 GMT</pubDate>
    <dc:creator>Lakshay</dc:creator>
    <dc:date>2024-02-02T19:39:00Z</dc:date>
    <item>
      <title>Python Databricks how to run all cells in another notebook except the last cell</title>
      <link>https://community.databricks.com/t5/data-engineering/python-databricks-how-to-run-all-cells-in-another-notebook/m-p/59076#M31331</link>
      <description>&lt;P&gt;I have a Python Databricks notebook which I want to call/run another Databricks notebook using dbutils.notebook.run()... but I want to run all the cells in the "called" notebook except the last one.&lt;/P&gt;&lt;P&gt;Is there a way to do a count of cells in the called notebook? And then run the called notebook on all cells until CellCount-1 ?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 19:04:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/python-databricks-how-to-run-all-cells-in-another-notebook/m-p/59076#M31331</guid>
      <dc:creator>jerryrard</dc:creator>
      <dc:date>2024-02-02T19:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Python Databricks how to run all cells in another notebook except the last cell</title>
      <link>https://community.databricks.com/t5/data-engineering/python-databricks-how-to-run-all-cells-in-another-notebook/m-p/59080#M31332</link>
      <description>&lt;P&gt;I don't think this is possible. You can only complete a notebook.&amp;nbsp;&lt;BR /&gt;BTW curious to know what is the use-case here.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 19:39:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/python-databricks-how-to-run-all-cells-in-another-notebook/m-p/59080#M31332</guid>
      <dc:creator>Lakshay</dc:creator>
      <dc:date>2024-02-02T19:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Python Databricks how to run all cells in another notebook except the last cell</title>
      <link>https://community.databricks.com/t5/data-engineering/python-databricks-how-to-run-all-cells-in-another-notebook/m-p/59085#M31334</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the alternative way, you can use dbutils.notebook.run to pass the parameters, and use dbutils.widgets.get in another notebook to get the parameter values,&lt;/P&gt;&lt;P&gt;and determine the parameter values to decide whether to execute codes in the specified cell&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/en/notebooks/notebook-workflows.html#example" target="_self"&gt;https://docs.databricks.com/en/notebooks/notebook-workflows.html#example&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Feb 2024 01:53:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/python-databricks-how-to-run-all-cells-in-another-notebook/m-p/59085#M31334</guid>
      <dc:creator>feiyun0112</dc:creator>
      <dc:date>2024-02-03T01:53:26Z</dc:date>
    </item>
  </channel>
</rss>

