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.

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
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 :)

Status changed to: Yes, Stay Tuned!
 
hogi
Level XIII

hi Sarah. Is there an update?

If not, I can live without : )

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?