>> Finally, I would also suggest to extend the implementation of
>> createTable such that the description paramer can also accept a
>> np.dtype instance. Personally, I append to a table in chunks of, say
>> 1MB to keep down memory usage (I may have 1GB in a single table), and
>> here I prefer to first define the table, and then append data (seems
>> like the cleanest thing to do), so I therefore first use
>>
>> h5file.createTable(...,description=np.empty(0, dtype=my_dtype), ...)
>>
>> to define the table based on a dtype, which seems kinda awkward as
>> inside this method you are extracting the dtype from array. Having the
>> possibility to do
>>
>> h5file.createTable(...,description=my_dtype, ...)
>>
>> seems more intuitive for me.
>
> Ok.  Note taken.  The reason why `Table.createTable` is not accepting a NumPy
> dtype as the description for creating a Table is mainly historical: when
> PyTables was created back in 2002 it was based in numarray, that had not the
> notion of a structured type as a such (although they were supported
> indirectly).  When NumPy (stable) appeared in late 2006, the structured dtype
> was introduced, but we have not supported it in the `Table.createTable` yet
> mainly because the PyTables way was independent of the underlying numerical
> package.  But now that it seems clear that NumPy is here for stay I think it
> is a good idea to implement support for it.  Will try to do this for
> forthcoming 2.2

Wow, I m glad you are taking my suggestion on-board. Definatelt in the
nice-to-have category but should also be fairly simple to implement, I
guess.
>
>>
>> Finally, this should not be considered as a rant, just some
>> observations from a new user.
>
> Indeed.  Thanks for your feedback; it is very important for us.
>
OK. Glad that is your attitude.

>> My general impression is that the "product" is well very polished and
>> stable, the user's guide is well-written and the package is very, very
>> nice (it is an answer to my praisers and the end of a long frustrating
>> search for a package which could need my needs).
>
> Wow, looks like a good quote for:
>
> http://pytables.org/moin/UserQuotes
>
> :)  Would you mind me adding it there?
>
Ahhmm.. I'm am still very, very new to PyTables, and I think the
statement very well represents the thrill you have when you suddenly
understand something and its usefulness. Perhaps, when I get further
in my experience with PyTables? Then I could perhaps also reveal
something about my application...? (I'll have to discuss that with
management though)


>> As mentioned in another post, there is an issue with installing LZO
>> for windows users and other details, but overall very good.
>
> I'll see what can be done about this and come back with a solution.
>
Thanks. Any help to surmount that barrier would be appreciated.

Cheers,

Kim

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to