You can use for each row activity to loop through all the rows the datatable.
And, row(0), will give you the first column and not first row , In your case, row(1) is giving you an index out of range exception because there is only one column in your excel file.
Your for-each row does the work of going to the next row until it fetches it all. i.e 1 to n number
What you do inside the for-each will apply for each row cell.
So you may do writeline [row(1).toString] for example, when you execute, each row cell(as you have only one column) value will be printed.