Hi.
This is a follow up to the question in this link: Solved: get values from select where - JMP User Community. At the ends of this discussion( in the link provided), there a way a jsl that select certain rows and print them using show() function. In another post( I lost the link to it), there was a method to select duplicated rows using the Select Duplicated Row() function and then delete them.
My objective is to select duplicated rows, and then get their index for a selected column in the table. For ex, I want to find the duplicate entries for the age column in the big class table.
The second objective is to create a new column that has only the unique rows without deleting the duplicated row.
Any guidance is appreciated.
dt_limit = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt_limit:age << Select Duplicate Rows( Match (:age, :age ) );
Group1List = (dt_limit:age[dt_limit << get selected rows]);
theCount = N Rows( dt << get selected rows);
Show( Group1List);