Table 13.6 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 sends each base Python data type. Nested lists are supported.
Python Init();
x1 = [1, 2, 3];
Python Send( x1 );
x2 = Python Get( x1 );
Show( x1, x2 );
dt1 = Open( "$SAMPLE_DATA/Big Class.jmp" );
Python Send( dt1 );
dt2 = Python Get( dt1 );
dt2 << New Data View;
Close( dt1 );
Python Term();