cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • 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.

JMP Wish List

We want to hear your ideas for improving JMP. Share them here.
Choose Language Hide Translation Bar

get rows where: speed issue

☐ cool new feature
☑ could help many users!

☑ removes a „bug“

☐ nice to have

☐ nobody needs it

 

#myTop10_2022

 

 

Get rows where is extremely slow if the column is referenced with a varible (here i=5 )

dt = Open( "$SAMPLE_DATA/Wafer Stacked.jmp" );
t0=hptime();
i = 5;
dt << get rows where( As Column( dt, i ) == 10 );
(hptime()-t0)/1000000;

instead of a direct reference like in

dt << get rows where( As Column( dt, 5 ) == 10 );

My wishes:

 

 

 

more wishes submitted by  hogi_2-1702196401638.png

6 Comments
Sarah-Sylvestre
Level V
Status changed to: Acknowledged

Hi @hogi, thank you for your suggestion! We have captured your request and will take it under consideration.

hogi
Level XIII

Thanks :)

Sarah-Sylvestre
Level V
Status changed to: Yes, Stay Tuned!
 
hogi
Level XIII

hi Sarah. Is there an update?

If not, I can live without : )

Sarah-Sylvestre
Level V
Status changed to: Delivered

Hi @hogi, I apologize for not responding to your earlier message! If you want to be sure I will get a notification, please tag me. In JMP 18, there is a new JSL function Where that is a replacement for dt << Get Rows Where. Please check it out and let me know if it solves your issue. For now, I have marked this as Delivered.

hogi
Level XIII

hi @Sarah-Sylvestre 

 

the above code gives 4625 matching rows, when I try it with

 

dt = Open( "$SAMPLE_DATA/Wafer Stacked.jmp" );
t0=hptime();
i = 5;
where(dt,  As Column( dt, i ) == 10 );
(hptime()-t0)/1000000;

I get

hogi_0-1758573228553.png


Can Where() be used for this application? how?