Hi
The script will read numeric column name from the file. If there is only 1 column, I want to create the new column and assign value in the column with the header reading from file. In below case, the new column should have initial value = ITH
I use below script but it doesn't assign the initial value. Not sure why.
ColList2 = Data Table( "raw data" ) << get column names( numeric );
if(n items (ColList2) ==1,
new column("Label",character, nominal,set each value (ColList2));
);