El dv 20 de 01 del 2006 a les 11:53 -0800, en/na Stefan Kuzminski va
escriure:
> That is a good trick I will use it.  
> 
> We have heterogenous data, although sometimes a user may have
> homogenous numerical data that they want to pull out into a matrix.
> 
> My real problem is that we need to support essentially a table with
> unlimited number of heterogenous columns.  We can fake it by breaking
> things up into smaller tables, but that seems like a kludge.  I could
> store each variable ( a vector ) in individual EArrays, but I am
> worried that it would be slow to iterate in parallel over a large set
> of individual EArrays.

Mmm, I don't know if I understand correctly, but perhaps you could try
to put all the columns that have a need to be retrieved as a block of
homogeneous data as a multidimensional column (using the shape attribute
of *Col classes). Then, you can easily access to these columns by using
the .cols accessor:

table.cols.your_multidim_col[...]

HTH,

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




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Pytables-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to