[Numpy-discussion] draft enum NEP

David Gowers (kampu) 00ai99 at gmail.com
Sun Mar 11 19:50:12 EDT 2012


Hi Wes,

On Mon, Mar 12, 2012 at 9:33 AM, Wes McKinney <wesmckinn at gmail.com> wrote:
>
> Now, one problem with this is that you want the mapping + dtype to be
> invertible (otherwise you're left doing some type inference). The way
> that I implement the mapping is to restrict the labeling to be from 0
> to N - 1 which makes things easier.

> If we decide that having an explicit value mapping
(...?)

You might want to finish whatever thought that was :)



More information about the NumPy-Discussion mailing list