<?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: Basic Statistics in Incorta (using Python if necessary) in Dashboards &amp; Analytics Discussions</title>
    <link>https://community.incorta.com/t5/dashboards-analytics-discussions/basic-statistics-in-incorta-using-python-if-necessary/m-p/3586#M288</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.incorta.com/t5/user/viewprofilepage/user-id/676"&gt;@olekern&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You are correct. In your version of Incorta, there is no option for violin plot. However, current cloud versions support the &lt;A href="https://docs.incorta.com/cloud/references-component-sdk" target="_blank" rel="noopener"&gt;Component SDK&lt;/A&gt;. In the future there may be a violin component created that is compatible with your version as you upgrade.&lt;/P&gt;
&lt;P&gt;In the meantime, you have the option to use the plotly library using a pyspark notebook. The sample code from your original post is close to functional, but I had to make a couple of updates. Here is a sample code block that should work:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;#import libraries
import plotly
import plotly.express as px

#get sample dataset
df = px.data.tips()

#create visualization
fig = px.violin(df, y="total_bill")

#show visualization
Incorta.show_plotly(fig)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2023-01-12 at 10.18.08 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.incorta.com/t5/image/serverpage/image-id/1880iD599702ED52CDD19/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2023-01-12 at 10.18.08 AM.png" alt="Screen Shot 2023-01-12 at 10.18.08 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The same result can be achieved with any dataset that has a numeric column to visualize. Please let me know if there are any other questions you have. Happy to help&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.incorta.com/t5/user/viewprofilepage/user-id/8"&gt;@dylanwan&lt;/a&gt;&amp;nbsp;for helping me find a solution here.&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jan 2023 16:29:13 GMT</pubDate>
    <dc:creator>LukeG</dc:creator>
    <dc:date>2023-01-12T16:29:13Z</dc:date>
    <item>
      <title>Basic Statistics in Incorta (using Python if necessary)</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/basic-statistics-in-incorta-using-python-if-necessary/m-p/3528#M278</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Are there much simpler examples of projects using Python then the ML Data Science in the video?&amp;nbsp; For example, the software running our manufacturing machinery produces samples of production times in a database table.&amp;nbsp; I would like to graph these in violin plots using Python and wondering how to go about doing this (I'm rather new to Python)...probably showing them in a daily report (changes every day).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Also, my company is on the cloud version 4.9.13 June 3rd, 2021.&amp;nbsp; Is this an issue for using Python?&amp;nbsp; Does the cloud version not auto update with each new version?&lt;/P&gt;&lt;P&gt;Some of the examples in the link below look great.&lt;/P&gt;&lt;P&gt;&lt;A href="https://plotly.com/python/violin/" target="_blank" rel="noopener"&gt;https://plotly.com/python/violin/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 22:00:02 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/basic-statistics-in-incorta-using-python-if-necessary/m-p/3528#M278</guid>
      <dc:creator>olekern</dc:creator>
      <dc:date>2023-01-03T22:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Statistics in Incorta (using Python if necessary)</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/basic-statistics-in-incorta-using-python-if-necessary/m-p/3543#M282</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.incorta.com/t5/user/viewprofilepage/user-id/676"&gt;@olekern&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Is your goal to show a violin chart in a dashboard and have it refresh on a daily basis, or are you looking to visualize the data using python in an interactive notebook?&lt;/P&gt;
&lt;P&gt;I'm happy to help explore both options&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 20:26:10 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/basic-statistics-in-incorta-using-python-if-necessary/m-p/3543#M282</guid>
      <dc:creator>LukeG</dc:creator>
      <dc:date>2023-01-05T20:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Statistics in Incorta (using Python if necessary)</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/basic-statistics-in-incorta-using-python-if-necessary/m-p/3576#M286</link>
      <description>&lt;P&gt;Hi Luke,&lt;/P&gt;&lt;P&gt;I'd say either/both?&lt;/P&gt;&lt;P&gt;First to clarify...we're actually using the on-premise version....4.9.13.&amp;nbsp; I don't see any violin plot options so guessed it would need Python.&lt;/P&gt;&lt;P&gt;We don't have it installed currently and the data hasn't been uploaded into Incorta yet, but I think it could happen in a few days or at least a couple weeks.&amp;nbsp; Attached is sample.&lt;/P&gt;&lt;P&gt;I'd like to maybe default to the current (or prior) date with the option to have it change with the user filtering to a different date.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 21:40:05 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/basic-statistics-in-incorta-using-python-if-necessary/m-p/3576#M286</guid>
      <dc:creator>olekern</dc:creator>
      <dc:date>2023-01-10T21:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Statistics in Incorta (using Python if necessary)</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/basic-statistics-in-incorta-using-python-if-necessary/m-p/3586#M288</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.incorta.com/t5/user/viewprofilepage/user-id/676"&gt;@olekern&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You are correct. In your version of Incorta, there is no option for violin plot. However, current cloud versions support the &lt;A href="https://docs.incorta.com/cloud/references-component-sdk" target="_blank" rel="noopener"&gt;Component SDK&lt;/A&gt;. In the future there may be a violin component created that is compatible with your version as you upgrade.&lt;/P&gt;
&lt;P&gt;In the meantime, you have the option to use the plotly library using a pyspark notebook. The sample code from your original post is close to functional, but I had to make a couple of updates. Here is a sample code block that should work:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;#import libraries
import plotly
import plotly.express as px

#get sample dataset
df = px.data.tips()

#create visualization
fig = px.violin(df, y="total_bill")

#show visualization
Incorta.show_plotly(fig)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2023-01-12 at 10.18.08 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.incorta.com/t5/image/serverpage/image-id/1880iD599702ED52CDD19/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2023-01-12 at 10.18.08 AM.png" alt="Screen Shot 2023-01-12 at 10.18.08 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The same result can be achieved with any dataset that has a numeric column to visualize. Please let me know if there are any other questions you have. Happy to help&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.incorta.com/t5/user/viewprofilepage/user-id/8"&gt;@dylanwan&lt;/a&gt;&amp;nbsp;for helping me find a solution here.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 16:29:13 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/basic-statistics-in-incorta-using-python-if-necessary/m-p/3586#M288</guid>
      <dc:creator>LukeG</dc:creator>
      <dc:date>2023-01-12T16:29:13Z</dc:date>
    </item>
  </channel>
</rss>

