I have multiple pandas dataframes and I would like to write a function that will take out the values in each column of the dataframes and put them into their own numpy array.
Example dataframe
In [1]: df = pd.DataFrame([[1, 2], [1, 3], [4, 6]], columns=['A', 'B'])
In [2]: df
Out[2]:
A B
0 1 2
1 1 3
2 4 6
How would I generate two different numpy arrays out of the values in column A and B

df.values;