<?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: Splunk python with pandas in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474878#M8495</link>
    <description>&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.3/AdvancedDev/ScriptWriting"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.3/AdvancedDev/ScriptWriting&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Apr 2020 06:51:21 GMT</pubDate>
    <dc:creator>to4kawa</dc:creator>
    <dc:date>2020-04-24T06:51:21Z</dc:date>
    <item>
      <title>Splunk python with pandas</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474863#M8480</link>
      <description>&lt;P&gt;Splunk python3 can't work &lt;CODE&gt;import pandas&lt;/CODE&gt;&lt;BR /&gt;How should I do?&lt;/P&gt;
&lt;P&gt;sample:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;% $SPLUNK_HOME/bin/splunk cmd python3
&amp;gt;&amp;gt;&amp;gt; import pandas
Traceback (most recent call last):
   File "&amp;lt;stdin&amp;gt;", line 1, in &amp;lt;module&amp;gt;
ModuleNotFoundError: No module named 'pandas'
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and how does custom apps use python3?&lt;BR /&gt;where should I put on &lt;CODE&gt;python.version=python3&lt;/CODE&gt;?&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jun 2020 18:14:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474863#M8480</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-06-07T18:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk python with pandas</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474864#M8481</link>
      <description>&lt;P&gt;sample usage:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Transformsconf"&gt;transforms.conf&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[freqserver]
external_cmd = freq.py domain
external_type = python
python.version = python2
fields_list = domain, frequency
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;ref: &lt;A href="https://answers.splunk.com/answering/816676/view.html"&gt;https://answers.splunk.com/answering/816676/view.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Apr 2020 01:55:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474864#M8481</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-12T01:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk python with pandas</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474865#M8482</link>
      <description>&lt;P&gt;reference:&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Python3Migration/ChangesEnterprise#Python_interpreter_settings"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Python3Migration/ChangesEnterprise#Python_interpreter_settings&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Apr 2020 01:57:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474865#M8482</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-12T01:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk python with pandas</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474866#M8483</link>
      <description>&lt;P&gt;&lt;A href="https://dev.splunk.com/enterprise/docs/developapps/customsearchcommands/createcustomsearchcmd/"&gt;https://dev.splunk.com/enterprise/docs/developapps/customsearchcommands/createcustomsearchcmd/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2020 09:45:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474866#M8483</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-13T09:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk python with pandas</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474867#M8484</link>
      <description>&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/55275491/splunk-splunk-python-sdk-how-to-include-pandas-numpy-to-create-custom-command"&gt;https://stackoverflow.com/questions/55275491/splunk-splunk-python-sdk-how-to-include-pandas-numpy-to-create-custom-command&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2020 09:47:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474867#M8484</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-13T09:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk python with pandas</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474868#M8485</link>
      <description>&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/681860/python-for-scientific-computing-app-error-when-imp.html"&gt;https://answers.splunk.com/answers/681860/python-for-scientific-computing-app-error-when-imp.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2020 09:53:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474868#M8485</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-13T09:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk python with pandas</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474869#M8486</link>
      <description>&lt;P&gt;Hello @to4kawa,&lt;/P&gt;

&lt;P&gt;I think the pandas module wasn't properly installed. Can you list your steps and reference to the documentation you've used to install pandas python module?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2020 22:07:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474869#M8486</guid>
      <dc:creator>PavelP</dc:creator>
      <dc:date>2020-04-13T22:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk python with pandas</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474870#M8487</link>
      <description>&lt;P&gt;hi @PaveIP&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;!#/usr/bin/env python
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It run with python in my OS(e.g. Anaconda) . I can use &lt;CODE&gt;pandas&lt;/CODE&gt; ,also.&lt;/P&gt;

&lt;P&gt;I'm trying to publish Apps, and considering windows, if &lt;CODE&gt;pandas&lt;/CODE&gt; can be used with Splunk's standard python, I'm trying to change to that method like following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;!#$SPLUNK_HOME/bin/python3
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, I have not found it yet. Should I copy &lt;EM&gt;Python for Scientific Computing/exec_anaconda.py&lt;/EM&gt; ?&lt;/P&gt;

&lt;P&gt;reference: &lt;A href="https://github.com/splunk/Splunk-python-for-scientific-computing/tree/master/package" target="_blank"&gt;https://github.com/splunk/Splunk-python-for-scientific-computing/tree/master/package&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 05:00:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474870#M8487</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-09-30T05:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk python with pandas</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474871#M8488</link>
      <description>&lt;P&gt;I'm not sure, that can work&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 06:11:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474871#M8488</guid>
      <dc:creator>PavelP</dc:creator>
      <dc:date>2020-04-14T06:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk python with pandas</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474872#M8489</link>
      <description>&lt;P&gt;Thanks @PaveIP &lt;BR /&gt;
No problem.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 06:32:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474872#M8489</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-14T06:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk python with pandas</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474873#M8490</link>
      <description>&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/795799/how-to-import-util-when-using-exec-anaconda.html"&gt;https://answers.splunk.com/answers/795799/how-to-import-util-when-using-exec-anaconda.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 21:27:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474873#M8490</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-15T21:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk python with pandas</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474874#M8491</link>
      <description>&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/686808/splunk-machine-learning-toolkit-install-additional.html"&gt;https://answers.splunk.com/answers/686808/splunk-machine-learning-toolkit-install-additional.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 21:27:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474874#M8491</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-15T21:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk python with pandas</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474875#M8492</link>
      <description>&lt;P&gt;&lt;A href="https://static.rainfocus.com/splunk/splunkconf18/sess/1523381218451001Aj1y/finalPDF/FN1409_GitHubCollaboration_Final_1538799477337001rcTB.pdf"&gt;https://static.rainfocus.com/splunk/splunkconf18/sess/1523381218451001Aj1y/finalPDF/FN1409_GitHubCollaboration_Final_1538799477337001rcTB.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 21:39:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474875#M8492</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-15T21:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk python with pandas</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474876#M8493</link>
      <description>&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/MLApp/latest/API/AddPython3Libs"&gt;https://docs.splunk.com/Documentation/MLApp/latest/API/AddPython3Libs&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 10:30:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474876#M8493</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-20T10:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk python with pandas</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474877#M8494</link>
      <description>&lt;P&gt;&lt;A href="https://github.com/splunk/mltk-algo-contrib"&gt;https://github.com/splunk/mltk-algo-contrib&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 10:54:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474877#M8494</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-20T10:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk python with pandas</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474878#M8495</link>
      <description>&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.3/AdvancedDev/ScriptWriting"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.3/AdvancedDev/ScriptWriting&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 06:51:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474878#M8495</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-24T06:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk python with pandas</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474879#M8496</link>
      <description>&lt;P&gt;Try manually downloading pandas and copy them to &lt;CODE&gt;Splunk\etc\apps\&amp;lt;APP&amp;gt;\bin&lt;/CODE&gt; folder then in script that you have in that bin folder, for example &lt;CODE&gt;Splunk\etc\apps\&amp;lt;APP&amp;gt;\bin\main.py&lt;/CODE&gt; add following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;import sys
sys.path.append('./pandas')
sys.path.insert(0, './pandas')
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It is lazy workaround but importing should now work.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 09:17:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474879#M8496</guid>
      <dc:creator>seva98</dc:creator>
      <dc:date>2020-04-29T09:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk python with pandas</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474880#M8497</link>
      <description>&lt;P&gt;@seva98&lt;BR /&gt;
thank you. I can't find this solution.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 09:39:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/474880#M8497</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-29T09:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk python with pandas</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/547560#M8498</link>
      <description>&lt;P&gt;In most cases this error in Python generally raised:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You haven't installed Pandas explicitly with pip &lt;A href="http://net-informations.com/ds/err/pderr.htm" target="_self"&gt;install pandas&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;You may have different Python versions on your computer and Pandas is not installed for the particular version you're using.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;You can run the following command in your Linux/MacOS/Windows terminal.&lt;/P&gt;&lt;P&gt;pip install pandas&lt;/P&gt;&lt;P&gt;To be sure you are not having multiple Python versions that are confusing, you should run following commands:&lt;/P&gt;&lt;P&gt;python3 -m pip install pandas&lt;BR /&gt;python3 -c 'import pandas'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 05:45:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/547560#M8498</guid>
      <dc:creator>stevejonn</dc:creator>
      <dc:date>2021-04-12T05:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk python with pandas</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/579081#M8499</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I tried this work around for pandas.&lt;/P&gt;&lt;P&gt;but i am getting the below error while calling pandas.&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;File "sample.py", line 38, in &amp;lt;module&amp;gt;&lt;BR /&gt;df = pandas.DataFrame(data)&lt;BR /&gt;NameError: name 'pandas' is not defined&lt;/P&gt;&lt;P&gt;while i added syspath append and insert, i removed import pandas from the python file.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 06:34:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Splunk-python-with-pandas/m-p/579081#M8499</guid>
      <dc:creator>sarvesh_11</dc:creator>
      <dc:date>2021-12-22T06:34:58Z</dc:date>
    </item>
  </channel>
</rss>

