A Divendres 26 Maig 2006 21:51, Pepe Barbe va escriure: > As a followup to my previous email. > > I just noticed that the arrays retrieved from my table are arrays of > numarray type, while the opnes from the VLArray object are of numpy > array. I haven't found a way to define the flavor of array explicitly > in the Table declaration.
You can achieve retrieving NumPy objects by assigning the special field '_v_flavor' to 'numpy'. See the example in my previous message for more detail. > > I don't know if this is also related to the shape being (1,len) > instead of (len,) as I would like. I don't see how you are getting the (1,len) shape. Hope that the example will let you know how to correctly access the cells with correct shape. Regards, -- >0,0< Francesc Altet http://www.carabos.com/ V V Cárabos Coop. V. Enjoy Data "-" ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 _______________________________________________ Pytables-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pytables-users
