cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

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