[Pytables-users] General class for table elements

2012-01-27 Thread Davide Cittaro
Hi all, I'm trying to store some data into pytables. Most of these are strings, their length varies in two values. I can of course create a class with StringCol elements sized at the maximum value, to accommodate both. I was thinking, instead, to create two separate tables and insert values in t

Re: [Pytables-users] General class for table elements

2012-01-27 Thread Anthony Scopatz
Hi Davide, >From the >createTable()doc string you'll see that you are not confined to the IsDescription class for creating table descriptions. In fact, you can use dictionaries of Col instances or numpy dtypes as descrip