I have a sheet with multiple columns and rows. I want to read data from the sheet by column and not by row. The
sheet.getDataRange().getValues();
function returns an array like this [ row1[column, column..], row2[column, column..]] etc. What I want to do is get an array like: [column1[row, row..], column2[row, row..]] etc.
It's worth to mention that the columns does not have the same number of rows.
Do you guys have any ideas on how to achieve this?
Thanks!