<?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: How to install dt2pandas library in JMP18 python on windows OS？ in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-install-dt2pandas-library-in-JMP18-python-on-windows-OS/m-p/818745#M99704</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1732430589873.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/70559iDB161B42F0D0FC51/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1732430589873.png" alt="jthi_1-1732430589873.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The path full path (on windows) is something like this&lt;/P&gt;
&lt;P&gt;C:\Users\&amp;lt;user&amp;gt;AppData\Roaming\JMP\JMP\Python\Python311\site-packages (you should be able to access it with %appdata%\JMP\JMP\Python\Python311\site-packages)&lt;/P&gt;</description>
    <pubDate>Sun, 24 Nov 2024 06:44:54 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2024-11-24T06:44:54Z</dc:date>
    <item>
      <title>How to install dt2pandas library in JMP18 python on windows OS？</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-install-dt2pandas-library-in-JMP18-python-on-windows-OS/m-p/818543#M99693</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;import jmp
from dt2pandas import dt2df&lt;/CODE&gt;&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;I was looking at the MAC code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-11-23_13-44-54.png" style="width: 849px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/70542iB274A209E37D0837/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-11-23_13-44-54.png" alt="2024-11-23_13-44-54.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Nov 2024 05:49:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-install-dt2pandas-library-in-JMP18-python-on-windows-OS/m-p/818543#M99693</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2024-11-23T05:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to install dt2pandas library in JMP18 python on windows OS？</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-install-dt2pandas-library-in-JMP18-python-on-windows-OS/m-p/818553#M99694</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Traceback (most recent call last):
  File "&amp;lt;string&amp;gt;", line 2, in &amp;lt;module&amp;gt;
ModuleNotFoundError: No module named 'dt2pandas'&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 23 Nov 2024 05:52:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-install-dt2pandas-library-in-JMP18-python-on-windows-OS/m-p/818553#M99694</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2024-11-23T05:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to install dt2pandas library in JMP18 python on windows OS？</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-install-dt2pandas-library-in-JMP18-python-on-windows-OS/m-p/818586#M99699</link>
      <description>&lt;P&gt;You can make a copy of dt2pandas.py to same folder where your .jsl file is OR most likely better option, copy it to JMP's site-packages (&lt;A href="https://www.jmp.com/support/help/en/18.1/index.shtml#page/jmp/replicating-pandas-dataframe-transfer-methods.shtml" target="_blank" rel="noopener"&gt; Scripting Guide &amp;gt; Python &amp;gt; Creating a Pandas DataFrame from a JMP Data Table&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1732371593260.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/70550i7277084AE538AD0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="jthi_0-1732371593260.png" alt="jthi_0-1732371593260.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Nov 2024 14:20:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-install-dt2pandas-library-in-JMP18-python-on-windows-OS/m-p/818586#M99699</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-11-23T14:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to install dt2pandas library in JMP18 python on windows OS？</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-install-dt2pandas-library-in-JMP18-python-on-windows-OS/m-p/818660#M99702</link>
      <description>&lt;P&gt;I don't know how to operate, I have copied it into two directories&lt;BR /&gt;My script is put in C:\test2.py&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-11-24_07-38-25.png" style="width: 979px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/70557i07D9CF77E5C71DBA/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-11-24_07-38-25.png" alt="2024-11-24_07-38-25.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Nov 2024 23:41:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-install-dt2pandas-library-in-JMP18-python-on-windows-OS/m-p/818660#M99702</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2024-11-23T23:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to install dt2pandas library in JMP18 python on windows OS？</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-install-dt2pandas-library-in-JMP18-python-on-windows-OS/m-p/818745#M99704</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1732430589873.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/70559iDB161B42F0D0FC51/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1732430589873.png" alt="jthi_1-1732430589873.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The path full path (on windows) is something like this&lt;/P&gt;
&lt;P&gt;C:\Users\&amp;lt;user&amp;gt;AppData\Roaming\JMP\JMP\Python\Python311\site-packages (you should be able to access it with %appdata%\JMP\JMP\Python\Python311\site-packages)&lt;/P&gt;</description>
      <pubDate>Sun, 24 Nov 2024 06:44:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-install-dt2pandas-library-in-JMP18-python-on-windows-OS/m-p/818745#M99704</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-11-24T06:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to install dt2pandas library in JMP18 python on windows OS？</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-install-dt2pandas-library-in-JMP18-python-on-windows-OS/m-p/818749#M99706</link>
      <description>&lt;P&gt;Neither was successful.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = New Table( "Array - JSL", Add Rows( 10 ),New Column( "A"), New Column("AB"));
ABC = [1.61803, 3.14159, 5., 7., 9., 2.1, 0.8, 0.5321, 0.443682, 0.00012];
Column( dt, "A" ) &amp;lt;&amp;lt;Set Values(ABC );
Column( dt, "AB" ) &amp;lt;&amp;lt; Set Values( Reverse(ABC));
Python Send(dt);
Python Submit ("\[
import jmp
from dt2pandas import dt2df
DA = dt2df(dt)
DA['SUM'] = DA['A'] + DA['AB']
]\");
dt2 = Python Get(DA);
dt2 &amp;lt;&amp;lt; New Data View;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-11-24_15-28-52.png" style="width: 843px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/70561i2A9539F81BE3A7B7/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-11-24_15-28-52.png" alt="2024-11-24_15-28-52.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Nov 2024 07:30:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-install-dt2pandas-library-in-JMP18-python-on-windows-OS/m-p/818749#M99706</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2024-11-24T07:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to install dt2pandas library in JMP18 python on windows OS？</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-install-dt2pandas-library-in-JMP18-python-on-windows-OS/m-p/818750#M99707</link>
      <description>&lt;P&gt;Have you checked out what you are trying to import? For me that error message is saying that dt2pandas does not have dt2df. Personally, I wouldn't use that method described in dt2pandas.py (at least the version I have) as it messes with your JMP Preferences and that is very rarely a good idea. It is quite easy to write your own function to do this (I assume you are trying to convert JMP datatable to pandas dataframe) and there are quite a few examples in JMP community.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Nov 2024 07:43:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-install-dt2pandas-library-in-JMP18-python-on-windows-OS/m-p/818750#M99707</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-11-24T07:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to install dt2pandas library in JMP18 python on windows OS？</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-install-dt2pandas-library-in-JMP18-python-on-windows-OS/m-p/819020#M99719</link>
      <description>&lt;P&gt;The dt2pandas.py file contained within $SAMPLE_SCRIPTS/Python does not have a dt2df() function. &amp;nbsp;The sample scripts contains a to_pandas() function. &amp;nbsp;This sample is an example of exactly how JMP 14 through JMP 17 created a pandas dataframe from a JMP data table via a CSV file in the filesystem. &amp;nbsp;The other option not mentioned is just copy the function into your own file instead of importing it. &amp;nbsp;Though either copying to your JMP site-packages directory or the same directory as your script.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2024 15:03:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-install-dt2pandas-library-in-JMP18-python-on-windows-OS/m-p/819020#M99719</guid>
      <dc:creator>Paul_Nelson</dc:creator>
      <dc:date>2024-11-25T15:03:28Z</dc:date>
    </item>
  </channel>
</rss>

