Francesc Altet (el 2007-12-01 a les 17:23:30 +0100) va dir::

> Well, the solution for this is a bit buried in the reference manual:
> 
> http://www.pytables.org/docs/manual/ch04.html#RowClassDescr
> 
> section "Special Methods".  In brief, row[:] will do the job for you.

You may also use the ``Row.fetch_all_fields()`` method, which returns a
NumPy void scalar (i.e. a record) instead of a tuple.  Nearly the same,
but you can still access fields by their name (``record['field']``).

::

        Ivan Vilata i Balaguer   >qo<   http://www.carabos.com/
               Cárabos Coop. V.  V  V   Enjoy Data
                                  ""

Attachment: signature.asc
Description: Digital signature

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to