I just tested: passing an object of type numpy.core.records.recarray
to the constructor of createTable and then reading back it into memory
via slicing (h5f.root.myobj[:] ) returns to me a numpy.ndarray.

Best,

-á.


On Thu, Jun 28, 2012 at 5:30 PM, Anthony Scopatz <scop...@gmail.com> wrote:
> Hi Alvaro,
>
> I think if you save the table as a record array, it should return you a
> record array.  Or does it return a structured array?  Have you tried this?
>
> Be Well
> Anthony
>
> On Thu, Jun 28, 2012 at 11:22 AM, Alvaro Tejero Cantero <alv...@minin.es>
> wrote:
>>
>> Hi,
>>
>> I've noticed that tables are loaded in memory as structured arrays.
>>
>> It seems that returning recarrays by default would be much in the
>> spirit of the natural naming preferences of PyTables.
>>
>> Is there a reason not to do so?
>>
>> Cheers,
>>
>> Álvaro.
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Pytables-users mailing list
>> Pytables-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/pytables-users
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Pytables-users mailing list
> Pytables-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pytables-users
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to