This version of the Help is no longer updated. See JMP.com/help for the latest version.

.
Scripting Guide > Extending JMP > Working with Python > Equivalent Data Types for Python Send()
Publication date: 07/30/2020

Equivalent Data Types for Python Send()

Table 14.5 shows what JMP data types can be exchanged with Python using the Python Send() function. Sending lists or associative arrays to Python recursively examines each element of the list or associative array and sends each base JMP data type. Nested lists and associative arrays are supported.

Table 14.5 Equivalent JMP and Python Data Types for Python Send()

JMP Data Type

Python Data Type

Boolean

Boolean

Data Table

Pandas.DataFrame

Associative Array

Dictionary

Numeric

Float

Matrix

Float Matrix

List

List

String

Unicode String

Python Send() Example

Python Init();
X = 1;
Python Send( X );
S = "Report Title";
Python Send( S );
M = [1 2 3, 4 5 6, 7 8 9];
Python Send( M );
Python Submit( "\[
print(X)
print(S)
print(M)
]\" );
Python Term();

1.0

Report Title

[[ 1. 2. 3.]

[ 4. 5. 6.]

[ 7. 8. 9.]]

0

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).