I want to convert N columns into one series. How to do it effectively?
Input:
0 1 2 3 0 64 98 47 58 1 80 94 81 46 2 18 43 79 84
You can use unstack
pd.Series(df.unstack().values)