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
hogi
Level XIII

Python and Formula Columns

Formula Column are very restrictive.
If the entries of a JMP column are defined by a column formula , there is no possibility to change individual entries, neither manually nor via JSL:

 

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << new column("row", Formula(row())) << run formulas;
:row << suppress eval;
Try(:row[5]=7, Caption("change a cell of a formula column via JSL? doesn't work"));
Wait(2);
Caption("try to change a value manually ...");
Python send(dt);

hogi_0-1762427122582.png

 

Actually, there is a backdoor: Python

Python send(dt);
Python Submit("dt['row'] = [1]*40")

 

0 REPLIES 0

Recommended Articles