There is a X DataFrame.
X=pd.DataFrame({'x':[1,2,3,4,5],'y':[6,7,8,9,10],'z':[11,12,13,14,15]})
I want to make a,b,c like this.
a=array([1,2,3,4,5])
b=array([6,7,8,9,10])
c=array([11,12,13,14,15])
However When i run the code below,
a,b,c=np.array(X)
I got an error
ValueError: too many values to unpack (expected 3)
I should change this part np.array(X) not a,b,c because of package code i am using. But i don't know how to fix it..