Hello, I just discovered PyTables and am trying to find a good table structure to describe my data.
A table is defined as: mytable = h5file.createTable(group, 'outputs', Foobar, "Foobar description") with a class Foobar: class Foobar(tables.IsDescription): iteration = tables.Int32Col() output = tables.Float64Col(shape=(1, N)) steps = tables.Float64Col(shape=(K, N)) Now I can easily use mytable.row['iteration'] or mytable.row['output'] and feed them with some data. Unfortunately, regarding mytable.row['steps'], it is very likely that the array of size (K,N) won't fit in memory. Is it possible to fill it by iterating on K ? Something like mytable.row['steps'][j] = foo with 0 < j < K and foo of size (1,N) doesn't work. I was thinking of using a CArray instead, but AFAIK it is not possible to include it directly into Foobar. Some pointers would be very appreciated. Thanks, Thibault ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users