hello members ,
am a new user just begin JSL scripting , could you provide a suggestion how to execute below need
i have 2 files ,
File1 : contains data with thousands of columns (string) and row (numbers)
File2 : contains few list of columns which i created manually to pick interested column from file1
my need is to do max function based on list from file 2 and create new column in file 1
below is code which i tried and didnt work as expected.
dt = Open ("C:/File2.csv")
list = dt << get name; // list = is basically few random column names from file1 = row 1 ,row2,row10, etc
dt1 = Open ("C:/File1.jmp")
New column ( "max list",Numeric,Formula (Max (list)));