cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
Getting started with Python integration in JMP® 18

JMP 18 has a new way to integrate with Python, providing an independent Python environment designed to be used with JMP. In addition, JMP now has a native Python editor and Python packages specific to JMP. This Python environment in JMP has enhanced connectivity and interaction with JMP, which means using Python with JMP has never been easier.

 

Get familiar with the Python integrated development environment (IDE) in JMP 18 and learn how to

  • Locate the Python IDE.
  • Run a simple example.
  • Install Python packages.
  • Run JSL script from Python.
  • Send a Python variable to JSL.
  • Create a JMP data table from Python.

 

Let's start with how to find the new Python Editor.

 

 

Next, let's next see a simple example in Python and how to reveal the embedded log:

 

Once you've determined which packages are installed, watch how to install a new one and how to upgrade pip.

 

Next, let's learn about the jmp.run_jsl function that encapsulates a JSL script in Python.

 

Now imagine that a CSV data table has been imported with pandas into Python. If we want to send it to the JSL script as a variable, we can use the Python Get function and leverage the JSL functions such as Graph Builder.

 

Finally, let's create a new JMP data table using Python and the "jmp" module. In this example, I am using a csv file and the pandas package but this can be applied to any other type of files, especially those that cannot be opened directly in JMP.

 

 
 

Want more detail? See the Developer Tutorial: New Python Integration and Scripting Capabilities in JMP 18 presented by Paul Nelson, the lead JMP developer for Python integration.

Last Modified: Jul 26, 2024 12:09 AM
Comments