I am currently getting:
y=[[ 0.16666667] [-0.16666667] [ 0.16666667]]
This comes from the im function using, and I need to include this in the list in the following format:
x= [0.16666667,-0.16666667,0.16666667]
I tried list (y), but this does not work because it returns:
[array([ 0.16666667]), array([-0.16666667]), array([ 0.16666667])]
How exactly did I do this?
source share