cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Register to attend Discovery Summit 2025 Online: Early Users Edition, Sept. 24-25.
  • New JMP features coming to desktops everywhere this September. Sign up to learn more at jmp.com/launch.
Choose Language Hide Translation Bar

JMP 18 Python API

Hello JMP Community.

 

I have JMP18 and am playing around with the new Python Integration.

 

I have a datatable.

How would I create trendcharts using this datatable in JMP's Python Editor?

 

Thanks All!

3 REPLIES 3
txnelson
Super User

Re: JMP 18 Python API

Basically in your Python program you would Import the JMP library and then through it open up the data table you want to have available in Python.

import jmp
 
dt = jmp.open(jmp.SAMPLE_DATA + 'Big Class.jmp')

After that, you can use the features in Python anyway you want.  If you are looking for the Python program to generate a trend chart from the JMP table, I don't believe this is the correct forum for that.  You need to go to a Python forum for Python help.

Jim

Re: JMP 18 Python API

Just like you can call Python from JSL using either

Python Submit();

Python Execute();

 

You can call JSL from your Python script.  

import jmp

jmp.run_jsl(''' Your JSL Script here""");

 

The inter-language calls can be nested.

Re: JMP 18 Python API

The Python Integration is an active work in progress, each JMP release will bring additional capabilities.  We are still building infrastructure with Python scripting.  JSL has approximately a 30 year head start. While we are not reinventing code since we can directly call C++ code internally,  we are trying to make sure the Python interface feels like Python not JSL within Python.  This takes time to design, test and develop. The immediate focus is on data interoperability between JSL and Python environments.  

Recommended Articles