<?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: Code to write JMP table to python in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Code-to-write-JMP-table-to-python/m-p/284696#M54995</link>
    <description>&lt;P&gt;This is what the log says:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;/**********/&lt;BR /&gt;# Import the numpy module for array and matrix support&lt;BR /&gt;import numpy as _JMPnp&lt;BR /&gt;/**********/&lt;/P&gt;&lt;P&gt;/**********/&lt;BR /&gt;# Import the scipy module for scientific computing support&lt;BR /&gt;import scipy as _JMPsp&lt;BR /&gt;/**********/&lt;/P&gt;&lt;P&gt;/**********/&lt;BR /&gt;# Import the pandas module for Series/Data Frame support&lt;BR /&gt;import pandas as _JMPpd&lt;BR /&gt;/**********/&lt;/P&gt;&lt;P&gt;Unable to import the 'numpy' Python module&lt;BR /&gt;Unable to import the 'scipy' Python module&lt;BR /&gt;Unable to import the 'pandas' Python module&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/**********/&lt;BR /&gt;print (dt)&lt;BR /&gt;/**********/&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;</description>
    <pubDate>Fri, 07 Aug 2020 12:02:56 GMT</pubDate>
    <dc:creator>bjbreitling</dc:creator>
    <dc:date>2020-08-07T12:02:56Z</dc:date>
    <item>
      <title>Code to write JMP table to python</title>
      <link>https://community.jmp.com/t5/Discussions/Code-to-write-JMP-table-to-python/m-p/284598#M54974</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bjbreitling_0-1596749134723.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/26048i9FAB5B9E388E5A2B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bjbreitling_0-1596749134723.png" alt="bjbreitling_0-1596749134723.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The above is some code I got from JMP documentation but when I run it nothing happens. I have 64-bit version of python 3.8 and JMP Pro 15. Can anyone help me with this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I need to add numpy and scipy and pandas? I have those in my python downloads. Do I need to put them in a different folder too for JMP to query?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 23:34:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Code-to-write-JMP-table-to-python/m-p/284598#M54974</guid>
      <dc:creator>bjbreitling</dc:creator>
      <dc:date>2023-06-09T23:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Code to write JMP table to python</title>
      <link>https://community.jmp.com/t5/Discussions/Code-to-write-JMP-table-to-python/m-p/284613#M54976</link>
      <description>&lt;P&gt;Nothing happens?&amp;nbsp; Is a JMP data table open at the point where you run the script? Are there any messages in the JMP Log?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 21:55:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Code-to-write-JMP-table-to-python/m-p/284613#M54976</guid>
      <dc:creator>David_Burnham</dc:creator>
      <dc:date>2020-08-06T21:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Code to write JMP table to python</title>
      <link>https://community.jmp.com/t5/Discussions/Code-to-write-JMP-table-to-python/m-p/284656#M54986</link>
      <description>/**********/&lt;BR /&gt;# Import the numpy module for array and matrix support&lt;BR /&gt;import numpy as _JMPnp&lt;BR /&gt;/**********/&lt;BR /&gt;&lt;BR /&gt;/**********/&lt;BR /&gt;# Import the scipy module for scientific computing support&lt;BR /&gt;import scipy as _JMPsp&lt;BR /&gt;/**********/&lt;BR /&gt;&lt;BR /&gt;/**********/&lt;BR /&gt;# Import the pandas module for Series/Data Frame support&lt;BR /&gt;import pandas as _JMPpd&lt;BR /&gt;/**********/&lt;BR /&gt;&lt;BR /&gt;Unable to import the 'numpy' Python module&lt;BR /&gt;Unable to import the 'scipy' Python module&lt;BR /&gt;Unable to import the 'pandas' Python module&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Aug 2020 02:51:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Code-to-write-JMP-table-to-python/m-p/284656#M54986</guid>
      <dc:creator>bjbreitling</dc:creator>
      <dc:date>2020-08-07T02:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Code to write JMP table to python</title>
      <link>https://community.jmp.com/t5/Discussions/Code-to-write-JMP-table-to-python/m-p/284696#M54995</link>
      <description>&lt;P&gt;This is what the log says:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;/**********/&lt;BR /&gt;# Import the numpy module for array and matrix support&lt;BR /&gt;import numpy as _JMPnp&lt;BR /&gt;/**********/&lt;/P&gt;&lt;P&gt;/**********/&lt;BR /&gt;# Import the scipy module for scientific computing support&lt;BR /&gt;import scipy as _JMPsp&lt;BR /&gt;/**********/&lt;/P&gt;&lt;P&gt;/**********/&lt;BR /&gt;# Import the pandas module for Series/Data Frame support&lt;BR /&gt;import pandas as _JMPpd&lt;BR /&gt;/**********/&lt;/P&gt;&lt;P&gt;Unable to import the 'numpy' Python module&lt;BR /&gt;Unable to import the 'scipy' Python module&lt;BR /&gt;Unable to import the 'pandas' Python module&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/**********/&lt;BR /&gt;print (dt)&lt;BR /&gt;/**********/&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 12:02:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Code-to-write-JMP-table-to-python/m-p/284696#M54995</guid>
      <dc:creator>bjbreitling</dc:creator>
      <dc:date>2020-08-07T12:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Code to write JMP table to python</title>
      <link>https://community.jmp.com/t5/Discussions/Code-to-write-JMP-table-to-python/m-p/285481#M55093</link>
      <description>&lt;P&gt;&lt;SPAN&gt;/**********/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Import the numpy module for array and matrix support&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import numpy as _JMPnp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/**********/&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/**********/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Import the scipy module for scientific computing support&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import scipy as _JMPsp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/**********/&lt;/SPAN&gt;&lt;BR /&gt;Here is the JMP log of the script. I have installed all of these packages in my 64 bit python site-packages folder.&lt;BR /&gt;&lt;SPAN&gt;/**********/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Import the pandas module for Series/Data Frame support&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import pandas as _JMPpd&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/**********/&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unable to import the 'numpy' Python module&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unable to import the 'scipy' Python module&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unable to import the 'pandas' Python module&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 12:38:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Code-to-write-JMP-table-to-python/m-p/285481#M55093</guid>
      <dc:creator>bjbreitling</dc:creator>
      <dc:date>2020-08-12T12:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Code to write JMP table to python</title>
      <link>https://community.jmp.com/t5/Discussions/Code-to-write-JMP-table-to-python/m-p/285485#M55095</link>
      <description>It appears the Community is not able to help.  Please submit this to JMP Support so you can get a tracking number, and the correct JMP individuals to look into the issue.&lt;BR /&gt;     support@jmp.com</description>
      <pubDate>Wed, 12 Aug 2020 12:47:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Code-to-write-JMP-table-to-python/m-p/285485#M55095</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-08-12T12:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Code to write JMP table to python</title>
      <link>https://community.jmp.com/t5/Discussions/Code-to-write-JMP-table-to-python/m-p/285491#M55101</link>
      <description>&lt;P&gt;Are you using anaconda or just python?&amp;nbsp; Maybe JMP is not seeing the correct version of Python is my thought.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you able to run a .py file with just those imports?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 14:00:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Code-to-write-JMP-table-to-python/m-p/285491#M55101</guid>
      <dc:creator>vince_faller</dc:creator>
      <dc:date>2020-08-12T14:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Code to write JMP table to python</title>
      <link>https://community.jmp.com/t5/Discussions/Code-to-write-JMP-table-to-python/m-p/285515#M55105</link>
      <description>&lt;P&gt;It was saying I had a 32-bit version of python as an error when running the script so I uninstalled that version and re-installed a 64-bit version. I also have a separate anaconda installation as well. I don't get that error anymore but it doesn't see those packages that I have installed apparently.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 14:40:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Code-to-write-JMP-table-to-python/m-p/285515#M55105</guid>
      <dc:creator>bjbreitling</dc:creator>
      <dc:date>2020-08-12T14:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Code to write JMP table to python</title>
      <link>https://community.jmp.com/t5/Discussions/Code-to-write-JMP-table-to-python/m-p/285516#M55106</link>
      <description>&lt;P&gt;Where do you have those packages installed?&amp;nbsp; If you have multiple versions of python my guess is JMP is looking at one that you don't have them installed on.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 14:58:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Code-to-write-JMP-table-to-python/m-p/285516#M55106</guid>
      <dc:creator>vince_faller</dc:creator>
      <dc:date>2020-08-12T14:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Code to write JMP table to python</title>
      <link>https://community.jmp.com/t5/Discussions/Code-to-write-JMP-table-to-python/m-p/285589#M55112</link>
      <description>&lt;P&gt;I had uninstalled the anaconda before reinstalling it after it didnt help so I had only one copy at some point.&lt;/P&gt;&lt;P&gt;Heres what I get from the log when I run the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Names Default To Here( 1 );&lt;/P&gt;&lt;P&gt;Python Init();&lt;/P&gt;&lt;P&gt;version = Python Get Version();&lt;/P&gt;&lt;P&gt;Show( version );&lt;/P&gt;&lt;P&gt;Python Term();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LOG:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*:&lt;/P&gt;&lt;P&gt;version = {3, 8, 5, "final", 0};&lt;BR /&gt;0&lt;BR /&gt;//:*/&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 17:05:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Code-to-write-JMP-table-to-python/m-p/285589#M55112</guid>
      <dc:creator>bjbreitling</dc:creator>
      <dc:date>2020-08-12T17:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Code to write JMP table to python</title>
      <link>https://community.jmp.com/t5/Discussions/Code-to-write-JMP-table-to-python/m-p/449239#M69595</link>
      <description>&lt;P&gt;JMP uses the pandas package, specifically a pandas data frame, &amp;nbsp;to send data tables back and forth with Python. &amp;nbsp;You need the missing Python packages for all of JMP's functionality to work properly. &amp;nbsp;For best success you should be using a Python.org version of Python. &amp;nbsp;With more than one version of Python on your system you will likely need to use the optional argument to the Python Init(). &amp;nbsp;The bit-ness of the Python has to match the bit-ness of JMP. &amp;nbsp;64-bit JMP requires 64-bit Python, as JMP is loading the Python dll. &amp;nbsp;Anaconda is a lot more troublesome get to a working configuration, as it is designed to be the keeper, manager of everything Python. &amp;nbsp;It does not play nearly as nicely if you are trying to embed Python.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The additional packages needed by the first versions of JMP with Python support are numpy, pandas, scipy, matplotlib, and Qt5. &amp;nbsp;This list has been pared &amp;nbsp;down so that the most recent versions of JMP only require numpy, pandas, and matplotlib. &amp;nbsp;From your log warnings, you need numpy, scipy and pandas.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Use Python's package manager pip ( or pip3 ). Make sure you use the pip in the same directory tree as the Python version you want to use with JMP.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;pip install numpy scipy pandas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will download and install the Python packages from public Python repositories and install them on your machine.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 18:00:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Code-to-write-JMP-table-to-python/m-p/449239#M69595</guid>
      <dc:creator>Paul_Nelson</dc:creator>
      <dc:date>2022-01-05T18:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Code to write JMP table to python</title>
      <link>https://community.jmp.com/t5/Discussions/Code-to-write-JMP-table-to-python/m-p/481462#M72575</link>
      <description>&lt;P&gt;64-bit JMP requires 64-bit Python 3, and 32-bit &amp;nbsp;JMP requires 32-bit Python 3. &amp;nbsp;Further any of the modules you install need to be installed for that version of Python, so if you had Numpy installed in the 32-bit version of Python, that version will NOT work with 64-bit JMP or 64-bit Python.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The issue is that JMP loads the Python shared library (.dll, .so, .dylib,...) into its process space. &amp;nbsp;As a result, Python and JMP both must be 32-bit or both 64-bit. &amp;nbsp;Numpy is one of the Python modules that heavily depends on native compiled code for the extension, rather than pure Python code which is system agnostic. &amp;nbsp;So it too must match the 32/64 bit-ness of JMP and Python. &amp;nbsp;Install Numpy, spicy, and pandas using the version of pip or pip3 located in the same directories as the Python you are using.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2022 14:43:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Code-to-write-JMP-table-to-python/m-p/481462#M72575</guid>
      <dc:creator>Paul_Nelson</dc:creator>
      <dc:date>2022-04-22T14:43:55Z</dc:date>
    </item>
  </channel>
</rss>

