キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

JMP Wish List

We want to hear your ideas for improving JMP. Share them here.
言語を選択 翻訳バーを非表示

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件のコメント
変更されたステータス: Acknowledged

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

hogi
Level XIII

Thanks :)

変更されたステータス: Yes, Stay Tuned!
 
hogi
Level XIII

hi Sarah. Is there an update?

If not, I can live without : )

変更されたステータス: 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?