<?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: How to handle &amp;lt;IPython.core.display.HTML object&amp;gt; in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-handle-lt-ipython-core-display-html-object-gt/m-p/12596#M7387</link>
    <description>&lt;P&gt;Hi @Kaniz Fatma​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;thanks for showing me the link. This helps if you are in control of the generated html-object. If the html-content comes from a library, that is where the problems start, because I cannot wrap displayHTML().&lt;/P&gt;&lt;P&gt;(I can of course look for that line and rebuild my own databricks-compatible version of the lib, but this would be improvisation, not solving the issue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am just worried that the number of python libraries will increase that use html-objects deep down. Surely there can be a way to capture this in the stack and handle it better than enforcing a call on another display method. I am sure this needs to be coordinated with the frontend developers of the databricks UI and the backend devs doing the Python-engine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to add such a configuration for a specific function of a library instead? &lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/databrickslabs/jupyterlab-integration/blob/753882c37ead89013f302863d1548eef27e0baaf/databrickslabs_jupyterlab/connect.py#L480" target="test_blank"&gt;https://github.com/databrickslabs/jupyterlab-integration/blob/753882c37ead89013f302863d1548eef27e0baaf/databrickslabs_jupyterlab/connect.py#L480&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Nov 2021 08:30:57 GMT</pubDate>
    <dc:creator>marsjuli</dc:creator>
    <dc:date>2021-11-17T08:30:57Z</dc:date>
    <item>
      <title>How to handle &lt;IPython.core.display.HTML object&gt;</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-handle-lt-ipython-core-display-html-object-gt/m-p/12593#M7384</link>
      <description>&lt;P&gt;Some libraries have intermediate IPython HTML-objects returned to the notebook cell output.&lt;/P&gt;&lt;P&gt;Since this happens during training a machine learning model the statements are typically buried within in the library so I cannot easily interfere. (e.g. in order overwrite the output statement to use the databricks function display()  )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there - or will there be - an option to handle HTML-objects from IPython ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Examplary versions:&lt;/P&gt;&lt;P&gt;DB-Runtime 10.0 ML (occurs in 8.X and 9.X as well)&lt;/P&gt;&lt;P&gt;ipython 7.22.0&lt;/P&gt;&lt;P&gt;ipython-genutils0.2.0&lt;/P&gt;&lt;P&gt;tqdm 4.59.0&lt;/P&gt;&lt;P&gt;mlflow 1.20.2&lt;/P&gt;&lt;P&gt;transformers 4.9.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example Output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="grafik.png"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/2372i49C364BA0ABC7D01/image-size/large?v=v2&amp;amp;px=999" role="button" title="grafik.png" alt="grafik.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Oct 2021 17:39:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-handle-lt-ipython-core-display-html-object-gt/m-p/12593#M7384</guid>
      <dc:creator>marsjuli</dc:creator>
      <dc:date>2021-10-24T17:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle &lt;IPython.core.display.HTML object&gt;</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-handle-lt-ipython-core-display-html-object-gt/m-p/12596#M7387</link>
      <description>&lt;P&gt;Hi @Kaniz Fatma​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;thanks for showing me the link. This helps if you are in control of the generated html-object. If the html-content comes from a library, that is where the problems start, because I cannot wrap displayHTML().&lt;/P&gt;&lt;P&gt;(I can of course look for that line and rebuild my own databricks-compatible version of the lib, but this would be improvisation, not solving the issue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am just worried that the number of python libraries will increase that use html-objects deep down. Surely there can be a way to capture this in the stack and handle it better than enforcing a call on another display method. I am sure this needs to be coordinated with the frontend developers of the databricks UI and the backend devs doing the Python-engine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to add such a configuration for a specific function of a library instead? &lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/databrickslabs/jupyterlab-integration/blob/753882c37ead89013f302863d1548eef27e0baaf/databrickslabs_jupyterlab/connect.py#L480" target="test_blank"&gt;https://github.com/databrickslabs/jupyterlab-integration/blob/753882c37ead89013f302863d1548eef27e0baaf/databrickslabs_jupyterlab/connect.py#L480&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 08:30:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-handle-lt-ipython-core-display-html-object-gt/m-p/12596#M7387</guid>
      <dc:creator>marsjuli</dc:creator>
      <dc:date>2021-11-17T08:30:57Z</dc:date>
    </item>
  </channel>
</rss>

