Hi,
I have data and want to assign the index to the data as below:
Input data:
col1 col2 col3 col41 3 4 93 5 5 74 6 11 70 3 7 2
I want to assign the index as the size of the data, here the size(rows) of the data is 4, then I want to add a column to assign the serial number as below:
Modified data(added 5th column):
1 3 4 9 13 5 5 7 24 6 11 7 30 3 7 2 4
Best Answer