[Numpy-discussion] Beta support for Numpy in PyTables

Francesc Altet faltet at carabos.com
Thu Feb 2 10:20:03 CST 2006


As some of you know (and are impatiently waiting for ;-) I'm in the
process of giving support to numpy in PyTables, so that the users can
transparently make use of numpy objects (or Numeric or numarray).
Well, I'm glad to say that the process is almost done (bar some issues
with character array support and unicode arrays). Fortunately, thanks
to the provision of the array interface, saving and reading numpy
objects have nearly the same performance than using numarray objects
(that, as you know, are in the core of PyTables).

So, if you want to have a try to the new PyTables, you can download
this preliminary version of it from:


I'm attaching some examples so that you can see how to use numpy in
combination with PyTables, by simply specifying the correct flavor in
the data type definition for Table and EArray (the same goes for
CArray and VLArray, although no examples are provided here) objects.

Also, as I already said in other occasions, when numpy would stabilize
enough, we are planning to make numpy the core data container for
PyTables. Meanwhile, please, test the couple PyTables/numpy and report
any error or glitch that you may notice, so that it can get as stable
as possible in order to easy the transition numarray-->numpy.


>0,0<   Francesc Altet     http://www.carabos.com/
V   V   Cárabos Coop. V.   Enjoy Data

-------------- next part --------------
A non-text attachment was scrubbed...
Name: array1-numpy.py
Type: application/x-python
Size: 1200 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/numpy-discussion/attachments/20060202/89d15a9f/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: earray1-numpy.py
Type: application/x-python
Size: 490 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/numpy-discussion/attachments/20060202/89d15a9f/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: table1-numpy.py
Type: application/x-python
Size: 1218 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/numpy-discussion/attachments/20060202/89d15a9f/attachment-0002.bin 

More information about the Numpy-discussion mailing list