cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
Get the free JMP Student Edition for qualified students and instructors at degree granting institutions.
Choose Language Hide Translation Bar
View Original Published Thread

python code: Make the generated JMP table invisible?

lala
Level VIII

Thanks!

import pandas as pd
import jmp
data = { 'A': [1, 2, 3, 4], 'B': [5.1, 6.2, 7.3, 8.4], 'C': ['x', 'y', 'z', 'w']}
df = pd.DataFrame(data)
dt = jmp.DataTable("MyInvisibleTable", df.shape[0])
for col in df.columns:
    if df[col].dtype in ['int64', 'float64']:
        col_type = jmp.DataType.Numeric
    else:
        col_type = jmp.DataType.Character
    dt.new_column(col, col_type)
    dt[col] = list(df[col])
1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User


Re: python code: Make the generated JMP table invisible?

Use << Show Window

Names Default To Here(1); 

dt = open("$SAMPLE_DATA/Big Class.jmp");

dt << show window(0);

Again found from scripting index

jthi_0-1740654257935.png

and JMP help

https://www.jmp.com/support/help/en/18.1/#page/jmp/window-messages.shtml?os=win&source=application#w...

-Jarmo

View solution in original post

9 REPLIES 9
jthi
Super User


Re: python code: Make the generated JMP table invisible?

If I read the documentation correctly, it doesn't seem to be currently possible with jmp.DataTable so you might have to go through run_jsl.

-Jarmo
lala
Level VIII


Re: python code: Make the generated JMP table invisible?

Thanks!

  • How to use JSL implementation to make open JMP tables invisible?

jthi
Super User


Re: python code: Make the generated JMP table invisible?

With JSL you just use

Open(path, invisible)

and this information can be found from scripting index

jthi_0-1740652150014.png

and from JMP Help https://www.jmp.com/support/help/en/18.1/#page/jmp/file-functions.shtml?os=win&source=application#ww... 

-Jarmo
lala
Level VIII


Re: python code: Make the generated JMP table invisible?

This I know, python generated JMP table is not required to save, this time can not use JSL to achieve it is not visible?

Thanks!

jthi
Super User


Re: python code: Make the generated JMP table invisible?

What are you looking for?

  • Make JMP generated table invisible?
  • Make Python integration generated invisible?
  • Set a table invisible?
  • Open a table invisible?
  • ...

 

-Jarmo
lala
Level VIII


Re: python code: Make the generated JMP table invisible?

Like this JMP table generated by python code, can't JSL make it invisible without saving it?

jthi
Super User


Re: python code: Make the generated JMP table invisible?

Use << Show Window

Names Default To Here(1); 

dt = open("$SAMPLE_DATA/Big Class.jmp");

dt << show window(0);

Again found from scripting index

jthi_0-1740654257935.png

and JMP help

https://www.jmp.com/support/help/en/18.1/#page/jmp/window-messages.shtml?os=win&source=application#w...

-Jarmo


Re: python code: Make the generated JMP table invisible?

A optional visibility parameter to jmp.DataTable( ) is coming to JMP 19.  Get out the EA and test it out.

lala
Level VIII


Re: python code: Make the generated JMP table invisible?

 

Thanks Experts!