cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to use Accelerated Life Testing (ALT) to evaluate reliability. Register for June 5 webinar, 2pm US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar

How to write .jmp files with JMP python

Hi,   I am using JMP19.1.1

I see examples of how to use JMP or JSL to open files, add jsl scripts for plotting and then run them.

Are there examples to use JMP Python to open csv files and write .jmp files with charts in them?   What do people do?   

Adrian

3 REPLIES 3
jthi
Super User

Re: How to write .jmp files with JMP python

Saving can be done with save method of DataTable 

jthi_0-1780425137594.png

To add table scripts you can use either run_jsl or scripts with jmp.Expression

jthi_1-1780425229292.png

 

-Jarmo

Re: How to write .jmp files with JMP python

Hi,

Thanks for responding.  I am talking about not using the jmp libraries.   I am talking about using python code that is processing data, that spits out csv files.   I want to switch to writing .jmp files.   Is there a way to do this?   i.e.  Pandas dataframe directly to .jmp ?   

Thanks

jthi
Super User

Re: How to write .jmp files with JMP python

To my knowledge no. You would need to run the Python inside JMP.

-Jarmo

Recommended Articles