cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

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