<?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 script(numpy &amp;amp;amp; pandas) integration with Qliksense enetrprise in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Python-script-numpy-amp-pandas-integration-with-Qliksense/m-p/1973251#M17246</link>
    <description>&lt;P&gt;Want to know the same!! (Python Integration with Qlik)&lt;BR /&gt;Appreciate if anybody could suggest the correct way to do so!&lt;/P&gt;
&lt;P&gt;i.e. 1. Trigering python file from Qlik itself&amp;nbsp; and then&lt;/P&gt;
&lt;P&gt;2. using its output in Qlik and Displaying it in Frontend&lt;/P&gt;</description>
    <pubDate>Thu, 25 Aug 2022 18:10:59 GMT</pubDate>
    <dc:creator>Manish_Kumar_</dc:creator>
    <dc:date>2022-08-25T18:10:59Z</dc:date>
    <item>
      <title>Python script(numpy &amp; pandas) integration with Qliksense enetrprise</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Python-script-numpy-amp-pandas-integration-with-Qliksense/m-p/1966900#M17167</link>
      <description>&lt;P&gt;Hi Qlik Users,&lt;/P&gt;
&lt;P&gt;I have a python script written using numpy &amp;amp; pandas package. It writes the output in excel. Now , i want to use that script to show the output in qlik sense enterprise version. Please note that i only have enterprise access.&lt;/P&gt;
&lt;P&gt;Could anyone please guide me with proper example and steps to follow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 07:11:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Python-script-numpy-amp-pandas-integration-with-Qliksense/m-p/1966900#M17167</guid>
      <dc:creator>TanuGoel</dc:creator>
      <dc:date>2022-08-10T07:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Python script(numpy &amp;amp; pandas) integration with Qliksense enetrprise</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Python-script-numpy-amp-pandas-integration-with-Qliksense/m-p/1966959#M17168</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If my understanding is correct, then you are using &lt;STRONG&gt;Python &lt;/STRONG&gt;script to generate some data in &lt;SPAN style="color:hsl(120, 75%, 60%);"&gt;&lt;STRONG&gt;EXCEL &lt;/STRONG&gt;&lt;/SPAN&gt;file and then you would like to display the generated data in &lt;SPAN style="color:hsl(120, 75%, 60%);"&gt;&lt;STRONG&gt;Qlik Sense&lt;/STRONG&gt;&lt;/SPAN&gt;. Here are the steps that might help you get on the right path:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;I&gt;&lt;STRONG&gt;NOTE&lt;/STRONG&gt;&lt;/I&gt;&lt;/SPAN&gt;&lt;I&gt;&lt;STRONG&gt;: You will have to keep in mind that Qlik Sense can't predict if your newly generated EXCEL file, will have new columns. So the structure should be the same. For example:&lt;/STRONG&gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. You have a &lt;STRONG&gt;Python &lt;/STRONG&gt;script that is executed daily and does some forecasting and generates an &lt;SPAN style="color:hsl(120, 75%, 60%);"&gt;&lt;STRONG&gt;EXCEL &lt;/STRONG&gt;&lt;/SPAN&gt;file with columns&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/dca7194d-3166-443d-82da-d0c49452a676.default.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see the file is saved in a specific location:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/ace76927-48a3-4608-befa-5fa4bb8a064f.default.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. We assume that the &lt;STRONG&gt;Python &lt;/STRONG&gt;script will run and will either add more rows under &lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt;Year&lt;/STRONG&gt;&lt;/SPAN&gt;, &lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt;Value &lt;/STRONG&gt;&lt;/SPAN&gt;or will replace the rows with new value. &lt;SPAN style="color:hsl(0, 75%, 60%);"&gt;&lt;STRONG&gt;BUT&lt;/STRONG&gt;&lt;/SPAN&gt;, you can't add more columns or remove columns, because then the script in Qlik Sense will have to be modified.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. After that, you will have to go to &lt;SPAN style="color:hsl(120, 75%, 60%);"&gt;&lt;STRONG&gt;Qlik Sense &lt;/STRONG&gt;&lt;/SPAN&gt;and inside &lt;SPAN style="color:hsl(120, 75%, 60%);"&gt;&lt;STRONG&gt;Data load editor&lt;/STRONG&gt;&lt;/SPAN&gt;, create a new connection to the directory.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/b838dc47-9e23-4f88-a46b-1c5e62694839.default.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. Now if you load the data you can create a table:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/e365b7e2-11cf-41e7-9321-c44a6f8376be.default.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;5. So lets assume that you have executed your &lt;STRONG&gt;Python &lt;/STRONG&gt;script and the data was updated:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/31fa55d0-508d-4ef4-9da7-051561956d68.default.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;6. Reloading the Qlik Sense app, will give you:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/e09364cb-d007-4ad4-bda9-c266eaa330fb.default.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;7. In case your Python script creates files like this:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/ccd403e7-b85b-444b-8f79-90cfcb29587e.default.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;8. Then you can modify the script as follows:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/3d0c8c7b-5450-4be5-81df-e4b30fc54d03.default.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see we are using the Python to generate files/data and then we are using the Qlik Sense to display the generated data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can fully automate this by making the Python script update the data everyday at 9AM and then create a reload task that will reload the data in Qlik Sense every day at 10AM (or later).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color:hsl(0, 0%, 60%);"&gt;&lt;I&gt;&lt;STRONG&gt;I hope that this information was helpful. In case I have misunderstood the use case scenario, please elaborate in details by providing additional information. However, if it has helped you resolve the issue, addressed your concerns or at least pointed you in the right direction, please mark it as Accepted Solution to give further visibility to other community members.&amp;nbsp;&lt;/STRONG&gt;&lt;/I&gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 09:07:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Python-script-numpy-amp-pandas-integration-with-Qliksense/m-p/1966959#M17168</guid>
      <dc:creator>Andrei_Cusnir</dc:creator>
      <dc:date>2022-08-10T09:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Python script(numpy &amp;amp; pandas) integration with Qliksense enetrprise</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Python-script-numpy-amp-pandas-integration-with-Qliksense/m-p/1972755#M17241</link>
      <description>&lt;P&gt;Hi Andrei,&lt;/P&gt;
&lt;P&gt;Thanks for your reply.&lt;BR /&gt;This solution works fine if i already have a python output in some location but can there is a way that i trigger the Python script or .py file in qlik and&amp;nbsp; it will show the output.&lt;/P&gt;
&lt;P&gt;The requirement is to trigger the python script from qlik and output shall be displayed in qlik.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Tanu&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 01:08:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Python-script-numpy-amp-pandas-integration-with-Qliksense/m-p/1972755#M17241</guid>
      <dc:creator>TanuGoel</dc:creator>
      <dc:date>2022-08-25T01:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Python script(numpy &amp;amp; pandas) integration with Qliksense enetrprise</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Python-script-numpy-amp-pandas-integration-with-Qliksense/m-p/1973251#M17246</link>
      <description>&lt;P&gt;Want to know the same!! (Python Integration with Qlik)&lt;BR /&gt;Appreciate if anybody could suggest the correct way to do so!&lt;/P&gt;
&lt;P&gt;i.e. 1. Trigering python file from Qlik itself&amp;nbsp; and then&lt;/P&gt;
&lt;P&gt;2. using its output in Qlik and Displaying it in Frontend&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 18:10:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Python-script-numpy-amp-pandas-integration-with-Qliksense/m-p/1973251#M17246</guid>
      <dc:creator>Manish_Kumar_</dc:creator>
      <dc:date>2022-08-25T18:10:59Z</dc:date>
    </item>
  </channel>
</rss>

