<?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: Suppress output in python notebooks in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/suppress-output-in-python-notebooks/m-p/8456#M4100</link>
    <description>&lt;P&gt;Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.complaintguide-au.com/youi-insurance-complaints-number/" alt="https://www.complaintguide-au.com/youi-insurance-complaints-number/" target="_blank"&gt;youi contact hours&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.complaintguide-au.com/uber-eats-complaints-number/" alt="https://www.complaintguide-au.com/uber-eats-complaints-number/" target="_blank"&gt;uber eats complaints&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 10 Jun 2023 05:46:38 GMT</pubDate>
    <dc:creator>Pabeggetur</dc:creator>
    <dc:date>2023-06-10T05:46:38Z</dc:date>
    <item>
      <title>Suppress output in python notebooks</title>
      <link>https://community.databricks.com/t5/data-engineering/suppress-output-in-python-notebooks/m-p/8451#M4095</link>
      <description>&lt;P&gt;My dilemma is this - We use PySpark to connect to external data sources via jdbc from within databricks. Every time we issue a spark command, it spits out the connection options including the username, url and password which is not advisable. So, is there a way we can suppress the outputs or maybe even redirect them to some place without printing it on the console?&lt;/P&gt;&lt;P&gt;I did a google search and it said that it is not possible to suppress the output from Python notebooks. But, I want to hear from the experts - is there a way, please?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 22:27:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/suppress-output-in-python-notebooks/m-p/8451#M4095</guid>
      <dc:creator>PriyaV</dc:creator>
      <dc:date>2023-03-01T22:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress output in python notebooks</title>
      <link>https://community.databricks.com/t5/data-engineering/suppress-output-in-python-notebooks/m-p/8453#M4097</link>
      <description>&lt;P&gt;Databricks recommends using &lt;A href="https://docs.databricks.com/security/secrets/index.html?_ga=2.119716296.1535155176.1677511560-1144853740.1677087382&amp;amp;_gac=1.160606031.1676325423.CjwKCAiA3KefBhByEiwAi2LDHGSUw9kY042pb9sOoSbv4IOevNxMF07m3NMq58_jZ-vYhI5Bu22sZhoCUJ8QAvD_BwE" alt="https://docs.databricks.com/security/secrets/index.html?_ga=2.119716296.1535155176.1677511560-1144853740.1677087382&amp;amp;_gac=1.160606031.1676325423.CjwKCAiA3KefBhByEiwAi2LDHGSUw9kY042pb9sOoSbv4IOevNxMF07m3NMq58_jZ-vYhI5Bu22sZhoCUJ8QAvD_BwE" target="_blank"&gt;Databricks secrets&lt;/A&gt; for sensitive information like usernames and passwords. These get redacted in the prints and logs and are not visible to other users in the workspace in case the notebook is accessible to other team members. &lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/security/secrets/index.html" target="test_blank"&gt;https://docs.databricks.com/security/secrets/index.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here is an example of it:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/security/secrets/example-secret-workflow.html" target="test_blank"&gt;https://docs.databricks.com/security/secrets/example-secret-workflow.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 19:49:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/suppress-output-in-python-notebooks/m-p/8453#M4097</guid>
      <dc:creator>arun_pamulapati</dc:creator>
      <dc:date>2023-03-03T19:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress output in python notebooks</title>
      <link>https://community.databricks.com/t5/data-engineering/suppress-output-in-python-notebooks/m-p/8454#M4098</link>
      <description>&lt;P&gt;Hi @Priya Venkatesh​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'd love to hear from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 05:05:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/suppress-output-in-python-notebooks/m-p/8454#M4098</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-17T05:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress output in python notebooks</title>
      <link>https://community.databricks.com/t5/data-engineering/suppress-output-in-python-notebooks/m-p/8455#M4099</link>
      <description>&lt;P&gt;You can use `%%capture` to suppress output, but I still face the same problem where the spark configuration is not correctly transferred from the setup notebook to the running notebook.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;%%capture
%run ../utils/setup.ipynb&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 11:47:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/suppress-output-in-python-notebooks/m-p/8455#M4099</guid>
      <dc:creator>fried</dc:creator>
      <dc:date>2023-06-09T11:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress output in python notebooks</title>
      <link>https://community.databricks.com/t5/data-engineering/suppress-output-in-python-notebooks/m-p/8456#M4100</link>
      <description>&lt;P&gt;Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.complaintguide-au.com/youi-insurance-complaints-number/" alt="https://www.complaintguide-au.com/youi-insurance-complaints-number/" target="_blank"&gt;youi contact hours&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.complaintguide-au.com/uber-eats-complaints-number/" alt="https://www.complaintguide-au.com/uber-eats-complaints-number/" target="_blank"&gt;uber eats complaints&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 05:46:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/suppress-output-in-python-notebooks/m-p/8456#M4100</guid>
      <dc:creator>Pabeggetur</dc:creator>
      <dc:date>2023-06-10T05:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress output in python notebooks</title>
      <link>https://community.databricks.com/t5/data-engineering/suppress-output-in-python-notebooks/m-p/8452#M4096</link>
      <description>&lt;P&gt;Hi @Priya Venkatesh​&amp;nbsp;, &lt;/P&gt;&lt;P&gt;From notebook dropdown you can hide the result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/592i7AD15594F0ABA211/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;Also, you can try encoding it through base64.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.python.org/3/library/base64.html" alt="https://docs.python.org/3/library/base64.html" target="_blank"&gt;https://docs.python.org/3/library/base64.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please let us know if this helps. &lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 06:17:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/suppress-output-in-python-notebooks/m-p/8452#M4096</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2023-03-02T06:17:41Z</dc:date>
    </item>
  </channel>
</rss>

