Re: [Pytables-users] Table.where and conditions across tables

2012-03-27 Thread Francesc Alted
Another option that occurred to me recently is to save all your columns as unidimensional arrays (Array object, or, if you want compression, a CArray or EArray), and then use them as components of a boolean expression using the class `tables.Expr`. For example, if a, b and c are unidimensional

Re: [Pytables-users] Table.where and conditions across tables

2012-03-27 Thread Francesc Alted
On 3/27/12 2:20 AM, Alvaro Tejero Cantero wrote: >>> (but how to grow it in columns without deleting&recreating?) >> You can't (at least on cheap way). Maybe you may want to create >> additional tables and grouping them in terms of the columns you are >> going to need for your queries. > Sorry

[Pytables-users] Example of use of PyTables

2012-03-27 Thread Alvaro Tejero Cantero
Hi, I came across the "Million Song Dataset" https://github.com/tb2332/MSongsDB It uses PyTables. Their descriptors perhaps connect better to certain people than a particle detector ;) https://github.com/tb2332/MSongsDB/blob/master/PythonSrc/hdf5_descriptors.py -á.

Re: [Pytables-users] Instalation Problems on OSX 10.7.3

2012-03-27 Thread Francesc Alted
A. The problem seems rather that you have not compiled/installed the szip compressor, or that the library cannot be found for some reason. Please double check if your homebrew installation of HDF5 is sane. If not, my advice is to ask the HDF5 users' list directly. Francesc On 3/27/12 10

Re: [Pytables-users] Instalation Problems on OSX 10.7.3

2012-03-27 Thread Tobias Erhardt
Hey Francesc Hm, seems that I've forgotten the actual error I get, as soon as I import pyTables: import tables ImportError: dlopen(/Library/Python/2.7/site-packages/tables/utilsExtension.so, 2): Symbol not found: _SZ_BufftoBuffCompress Referenced from: /Librar

Re: [Pytables-users] Instalation Problems on OSX 10.7.3

2012-03-27 Thread Francesc Alted
On 3/27/12 1:35 AM, Tobias Erhardt wrote: > Hi everybody > > I've been trying to install pyTables on my OSX Lion machine the past few days > without any success. > > In my opinion the problem is that the extension trys to build as universal > (i386 and x86_64) while the hdf5 libraries are only av

Re: [Pytables-users] Table.where and conditions across tables

2012-03-27 Thread Alvaro Tejero Cantero
>> (but how to grow it in columns without deleting&  recreating?) > > You can't (at least on cheap way).  Maybe you may want to create > additional tables and grouping them in terms of the columns you are > going to need for your queries. Sorry, it is not clear to me: create new tables and (groupi