Re: [Pytables-users] Some experiences with PyTables

2011-12-07 Thread Josh Moore
On Dec 6, 2011, at 11:06 PM, Anthony Scopatz wrote: ...snip... 5. The reference manual for numpy contains _many_ small examples. They partially compensate for any lack of precision or excessive precision in the documents. Also many people learn best from examples. If you would like to

Re: [Pytables-users] Some experiences with PyTables

2011-12-07 Thread Francesc Alted
2011/12/6 Anthony Scopatz scop...@gmail.com This is a function of the underlying HDF5 storage mechanism and not explicitly PyTables. When storing fixed length strings, the array of characters it is converted to *must* be exactly length-N. When serializing a string of length-M, HDF5 does the

Re: [Pytables-users] Some experiences with PyTables

2011-12-07 Thread Francesc Alted
2011/12/7 Francesc Alted fal...@pytables.org What you are saying is correct, except that the 'guilty' of dropping the trailing null characters is NumPy, not HDF5. Look at this: In [27]: import numpy as np In [28]: np.array([aaa]) Out[28]: array(['aaa'], dtype='|S3') In [29]:

Re: [Pytables-users] Some experiences with PyTables

2011-12-07 Thread Anthony Scopatz
On Wed, Dec 7, 2011 at 5:51 AM, Josh Moore josh.mo...@gmx.de wrote: On Dec 6, 2011, at 11:06 PM, Anthony Scopatz wrote: ...snip... 5. The reference manual for numpy contains _many_ small examples. They partially compensate for any lack of precision or excessive precision in the

[Pytables-users] Some experiences with PyTables

2011-12-06 Thread PyTables Org
. From: Edward C. Jones edcjo...@comcast.net Date: December 6, 2011 9:25:08 PM GMT+01:00 To: pytables-users@lists.sourceforge.net Subject: Some experiences with PyTables My computer has an up-to-date Debian stable distribution installed. I have the following Debian packages (plus most dev

Re: [Pytables-users] Some experiences with PyTables

2011-12-06 Thread Anthony Scopatz
Hello Edward, I'd like to respond point by point: On Tue, Dec 6, 2011 at 2:54 PM, PyTables Org pytab...@googlemail.comwrote: 1. There seems to be an unpythonic design choice with the start, stop, step convention for PyTables. Anything that is unnatural to a Python programmer should be