Re: [Pytables-users] Implementing a set-valued column

2011-01-31 Thread Francesc Alted
A Sunday 30 January 2011 23:38:48 Anthony Scopatz escrigué: > Hey Tom, > > On Sun, Jan 30, 2011 at 8:01 PM, Tom Fawcett wrote: > > Thanks for your response. I suspect you are right that sets are > > not regular enough. Are all column types of fixed size? Is this > > a necessary condition for

Re: [Pytables-users] Implementing a set-valued column

2011-01-31 Thread Francesc Alted
A Sunday 30 January 2011 08:20:01 Tom Fawcett escrigué: > Hi. I recently discovered pytables, and I’m impressed with its speed > and flexibility. But there’s one feature I’d like and I can’t > figure out how whether pytables can do it. > > I’d like to have essentially a set-valued column in a ta

Re: [Pytables-users] Implementing a set-valued column

2011-01-30 Thread Anthony Scopatz
Hey Tom, On Sun, Jan 30, 2011 at 8:01 PM, Tom Fawcett wrote: > Thanks for your response. I suspect you are right that sets are not > regular enough. Are all column types of fixed size? Is this a necessary > condition for pytables? I though I’d seen an example of variable-length > strings wit

Re: [Pytables-users] Implementing a set-valued column

2011-01-30 Thread Tom Fawcett
Hi Anthony, Thanks for your response. I suspect you are right that sets are not regular enough. Are all column types of fixed size? Is this a necessary condition for pytables? I though I’d seen an example of variable-length strings with pytables, but I maybe I was mistaken. I was thinking

Re: [Pytables-users] Implementing a set-valued column

2011-01-30 Thread Anthony Scopatz
Hey Tom, I am not sure what you are asking is possible. I don't think sets are regular enough* container type. Perhaps if you had a sets of consistent (or maximal) length and primitive data type, this kind of thing would be possible. (Eg every set in your column only contained integers and has l

[Pytables-users] Implementing a set-valued column

2011-01-29 Thread Tom Fawcett
Hi. I recently discovered pytables, and I’m impressed with its speed and flexibility. But there’s one feature I’d like and I can’t figure out how whether pytables can do it. I’d like to have essentially a set-valued column in a table. I’d like a column data type that is very similar to a Pyt