I have an Astropy Table as such:
a b c
------------------- ---- ---
-0.6096212422044334 2.0 3.0
-1.2192424844088667 10.0 3.0
-5.4865911798399 9.0 3.0
I want to turn this table back into an array for plotting purposes. This is what I tried:
d=Table(t)
x=np.array(d)
print(x)
This is what I get back (which I believe is a tuple):
[(-0.60962124, 2., 3.) (-1.21924248, 10., 3.) (-5.48659118, 9., 3.)]
When I ask for 'np.shape(x)' I get (3,) which is why I believe it is a tuple. I need the shape to be (3,3) so I can call out individual elements and plot this information.
Thank you, Q