|
From: Francesc A. <fa...@ca...> - 2006-05-31 11:25:14
|
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=20 field '_v_flavor' to 'numpy'. See the example in my previous message for mo= re=20 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 wi= ll=20 let you know how to correctly access the cells with correct shape. Regards, =2D-=20 >0,0< Francesc Altet =A0 =A0 http://www.carabos.com/ V V C=E1rabos Coop. V. =A0=A0Enjoy Data "-" |