[Numpy-discussion] Remove sctypeNA and typeNA from numpy core

Eric Wieser wieser.eric+numpy at gmail.com
Thu Jun 21 14:22:16 EDT 2018


> I bet the NA is for the missing value support thatnever happened

Nope - NA stands for NumArray

Eric

On Thu, 21 Jun 2018 at 11:07 Sebastian Berg <sebastian at sipsolutions.net>
wrote:

> On Thu, 2018-06-21 at 09:25 -0700, Matti Picus wrote:
> > numpy.core has many ways to catalogue dtype names: sctypeDict,
> > typeDict
> > (which is precisely sctypeDict), typecodes, and typename. We also
> > generate sctypeNA and typeNA but, as issue 11241 shows, it is
> > sometimes
> > wrong. They are also not documented and never used inside numpy.
> > Instead
> > of fixing it, I propose to remove sctypeNA and typeNA.
> >
>
> Sounds like a good idea, we have too much stuff in there, and this one
> is not even useful (I bet the NA is for the missing value support that
> never happened).
>
> Might be good to do a quick deprecation anyway though, mostly out of
> principle.
>
> - Sebastian
>
> > Any thoughts or objections?
> > Matti
> > _______________________________________________
> > NumPy-Discussion mailing list
> > NumPy-Discussion at python.org
> > https://mail.python.org/mailman/listinfo/numpy-discussion
> > _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at python.org
> https://mail.python.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20180621/ec1f48c8/attachment.html>


More information about the NumPy-Discussion mailing list