I have a dataframe in pandas that consists of 600 columns and 8 rows. I want to produce a list that consists of column[0] (with its 8 rows) followed by column[1], then column[2].... column[600] in one big list. I tried to 'iterate' but cannot iterate with a loop (ie: for j in variablelist: biglist.append(variablelist[j]).
Although there is a solution here (Pandas: Multiple columns into one column) for combining two columns, I have a few hundred to combine.
Would appreciate any help.