cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar

Provide option to Open() table with specific rows

Even before JMP17 I was looking for faster ways to open some specific rows from large JMP tables to improve the user-experience of tools I write. Finally JMP17 provided us with options to open x first, x last or x random rows. I would suggest that JMP should also let user open data table using specific rows (not sure if this can be technically done). Syntax for these is First(x), Last(x), Random(x) and if x is between 0-1 fraction of the total number of columns is used. And the new syntax could be same as Subset has for example with Rows([1,2,3,4]) dt = Open("$SAMPLE_DATA/CrimeData.jmp", Rows([2,4,6,8,30])); .

 

One of my use cases would be following:

I have a data table with 10million rows and 100 columns. First I open the table with only one (or multiple) column and ALL rows. Then I calculate which rows I am interested in, close the one column table and then re-open with just the interesting rows. This should make opening large tables much faster if I don't need all the data. Currently I can do this with if the table is sorted and I need sorted data.

4 Comments
Status changed to: Acknowledged

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

hogi
Level XII

Agree. 

The possibility to specify a subset

hogi_0-1729240338032.png

e.g. via  Lines To Read( "random lines in file", 1000 )in Open() is extremely useful!

adding an option to specify the exact rows to read is a nice extension of the current possibilities.

For the current options, unfortunately, they are not available for Multi File Import : (

@Sarah-Sylvestre : To enable the funtionality for MFI -- does it make sense to open a new wish or do you prefer it as one wish?

Hi @hogi, good question! I may be misunderstanding your request, but does this other wish cover it? I believe you also submitted a duplicate of that. Either way, having this tracked in a separate wish would definitely be the way to go. 

hogi
Level XII

Hi @Sarah-Sylvestre , somehow it's a mixture of both ideas:

 

- allow us to specify the number of rows beyond what is currently possible via open() [Jarmo's wish]

- allow us  to specify the number of rows in MFI - like it's possible in open() [the other wishes]

-> my wish

 

I will add a link to the other wishes - and hope that the developers read the comments : )