Scripting Guide > Python > JSL-to-Python Interfaces > Equivalent Data Types for Python Get()
Publication date: 07/08/2024

Equivalent Data Types for Python Get()

Table 15.2 shows which JMP data types can be exchanged with Python using the Python Get() function. Getting lists from Python recursively examines each element of the list and gets each base Python data type. Nested lists are supported.

Table 15.2 Equivalent Python and JMP Data Types for Python Get()

Python Data Type

JMP Data Type

numpy.ndarray

Numeric Matrix

jmp.DataTable.Column

Column

jmp.DataTable

Data Table

Pandas.DataFrame

Data Table

Dictionary

Associative Array

Integer

Integer

List

List of converted Python data types

Matrix

Numeric Matrix

Set

List

Unicode String

String

Python Get() Example

Names Default To Here( 1 );
 
x1 = {1, 2, 3};
Python Send( x1 );
x2 = Python Get( x1 );
Show( x1, x2 );
Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).