2009/7/28 Gabriel Beckers <pytables-u...@gbeckers.nl>:
>
>
>
> ---------- Videresendt meddelelse ----------
> From: Gabriel Beckers <pytables-u...@gbeckers.nl>
> To: Kim Hansen <slaun...@gmail.com>
> Date: Tue, 28 Jul 2009 17:33:53 +0200
> Subject: Re: [Pytables-users] numpy.dtype -> tables.Description. How do I do 
> the opposite of table.description._v_dtype?
> Hi Kim,
>
> I am not sure if it is of any help, but you are aware of the fact that
> you can simply give a recarray to the createTable method (as the
> 'description' parameter), and it will use the dtype from the array?
> Also, if the array has data, it will be inserted into the table
> on-the-fly.
>
> All the best, Gabriel
That is of great help! I had tried parsing a dtype in createTable (not
accepted), but I never thought of trying an np-ndarray with that
dtype. If that works, it will solve my problem (will try at work
tomorrow).

Best wishes,

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