Re: [Pytables-users] Problem writing strings to a CArray. Could this be a bug?

2011-03-23 Thread Adriano Vilela Barbosa
> >From: FrancescAlted >To: Discussion list for PyTables >Sent: Wed, March 23, 2011 10:57:06 AM >Subject: Re: [Pytables-users] Problem writing strings to a CArray. Could this >be > >a bug? > > >2011/3/23 Adriano Vilela Barbosa > >This is not a bug, but rather a feature of NumPy. Look at this:

Re: [Pytables-users] Problem writing strings to a CArray. Could this be a bug?

2011-03-23 Thread Francesc Alted
2011/3/23 Adriano Vilela Barbosa > This is not a bug, but rather a feature of NumPy. Look at this: > > >>> import numpy as np > >>> a = np.array(['aa\x00\x00']) > >>> a[0] > 'aa' # hey! were have my trailing 0's gone? > >>> a.data[:] > 'aa\x00\x00' # yeah, they still are in the data ar

Re: [Pytables-users] Problem writing strings to a CArray. Could this be a bug?

2011-03-23 Thread Adriano Vilela Barbosa
> >From: FrancescAlted >To: Discussion list for PyTables >Sent: Wed, March 23, 2011 9:32:04 AM >Subject: Re: [Pytables-users] Problem writing strings to a CArray. Could this >be > >a bug? > > >2011/3/23 Adriano Vilela Barbosa > >Hello, >> >>I'm having a problem with PyTables that's driving

Re: [Pytables-users] Problem writing strings to a CArray. Could this be a bug?

2011-03-23 Thread Francesc Alted
2011/3/23 Adriano Vilela Barbosa > Hello, > > I'm having a problem with PyTables that's driving me nuts. I'm probably > doing > something wrong, but I wonder if it could be a bug. > > Basically, I need to write a series of numpy arrays to an HDF file. Because > of > performance and compression re

Re: [Pytables-users] Full memory load of a hdf5-tree

2011-03-23 Thread Francesc Alted
2011/3/23 brunetto > For now the leaves max size is 300 (that is: leaves are Arrays > containing 300 or less integers), the number of nodes dipends on the > dimension of the dataset. Now I'm using dataset between 1000 and 10^8 > elements. The tree is built splitting every node (=PyTables Group) i

[Pytables-users] Problem writing strings to a CArray. Could this be a bug?

2011-03-23 Thread Adriano Vilela Barbosa
Hello, I'm having a problem with PyTables that's driving me nuts. I'm probably doing something wrong, but I wonder if it could be a bug. Basically, I need to write a series of numpy arrays to an HDF file. Because of performance and compression requirements, I decided to convert each numpy array

Re: [Pytables-users] Full memory load of a hdf5-tree

2011-03-23 Thread brunetto
>> I'm using pytables to buil a persistent binary tree containing from >> 10^3 to 10^8 (may be in future 10^10) integer numbers. The structure >> reflects a previus binary tree entirely built in memory. >> For now traversing the tree in the hdf5 file it's 10 time slower than >> traversing the tree

Re: [Pytables-users] Full memory load of a hdf5-tree

2011-03-23 Thread Francesc Alted
2011/3/23 brunetto > Hi All!! > > I'm quite new to pytables and this mailing list so I'm sorry if my > question is a bit stupid!:) > > I'm using pytables to buil a persistent binary tree containing from > 10^3 to 10^8 (may be in future 10^10) integer numbers. The structure > reflects a previus bi

[Pytables-users] Full memory load of a hdf5-tree

2011-03-23 Thread brunetto
Hi All!! I'm quite new to pytables and this mailing list so I'm sorry if my question is a bit stupid!:) I'm using pytables to buil a persistent binary tree containing from 10^3 to 10^8 (may be in future 10^10) integer numbers. The structure reflects a previus binary tree entirely built in memory.