suppose I have a DataFrame similar to this:
d = {'col1': [0, 2, 4], 'col2': [1, 3, 5], 'col3': [2, 4, 8]}
df = pd.DataFrame(d)
col1 col2 col3
0 0 1 2
1 2 3 4
2 4 5 8
How can I select col1 and col2 and turn them into this array?
array([[0, 1],
[2, 3],
[4, 5]])