cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
lala
Level IX

python code: Make the generated JMP table invisible?

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 IX

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 IX

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 IX

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 IX

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

 

Thanks Experts!

 

 

 

 

 

 

 

 

 

 

 

Recommended Articles