Anthony Foglia princeton.com> writes:
> >>Is there a way to get a Description from a numpy dtype?
> http://www.pytables.org/trac/ticket/263
Maybe you don't need to. This recent enhancement allows you to use a dtype as a
description:
http://www.pytables.org/trac/browser/trunk/tables/file.py?r
A Tuesday 16 February 2010 13:19:29 Jon Olav Vik escrigué:
> Anthony Foglia princeton.com> writes:
> > >> Is there a way to get a Description from a numpy dtype?
> >
> > http://www.pytables.org/trac/ticket/263
>
> Maybe you don't need to. This recent enhancement allows you to use a dtype
> as a
Francesc Alted wrote:
> A Tuesday 16 February 2010 13:19:29 Jon Olav Vik escrigué:
>> Anthony Foglia princeton.com> writes:
> Is there a way to get a Description from a numpy dtype?
>>> http://www.pytables.org/trac/ticket/263
>> Maybe you don't need to. This recent enhancement allows you to
A Tuesday 16 February 2010 20:14:38 Anthony Foglia escrigué:
> Francesc Alted wrote:
> > A Tuesday 16 February 2010 13:19:29 Jon Olav Vik escrigué:
> >> Anthony Foglia princeton.com> writes:
> > Is there a way to get a Description from a numpy dtype?
> >>>
> >>> http://www.pytables.org
Francesc Alted wrote:
> I see. Would it help if you can get a dtype from a Description object via
> `table.description._v_dtype` and compare it to the dtype the user is passing
> in?
Yes, that would work for my case.
--
Anthony Foglia
Princeton Consultants
(609) 987-8787 x233
--
Anthony Foglia (el 2010-02-16 a les 14:14:38 -0500) va dir::
> […] The user will probably want to pass in a dtype to construct the table, if
> need be. I'd like to test the description obtained from that with the
> description from any pre-existing tables, and throw an error otherwise. […]
If ``