I have a DataFrame in this format:
a b c 0 1 2 3 1 4 5 6 2 7 8 9 3 10 11 12 4 13 14 15
and an array like
You can always use list comprehension:
[df.loc[idx, col] for idx, col in enumerate(['a', 'a', 'b', 'c', 'b'])]