[Numpy-discussion] DType Roadmap/NEP Discussion
Sebastian Berg
sebastian at sipsolutions.net
Mon Sep 23 16:04:52 EDT 2019
Since it probably got lost. I am currently developing things at:
https://github.com/seberg/numpy/tree/dtypemeta
Please do not expect the tidiest code at the moment. The public API is
not yet available, and currently mainly at a proof-of-concept stage,
that things like:
* Promotion
* Casting
* Array creation – coercion `np.array(...)` (fairly far along)
* AbstractDTypes for value based casting
work. Also of course generally having a DTypeMeta class and "<f8" being
a subclass of a Float64 class working well.
The largest missing point are that UFuncs need to be resturctured for
new DTypes to be useful to the user. Until then, the only gain we have
is structuring some code better.
Most of the time it should build and run (currently all, in the future
maybe most) tests fine. I may force push occasionally (if just to
rebase on master).
If you would like direct push access just send me a mail.
Maybe a side note: datetimes work of course, and they have a unit
attached to them, so are a simple version of a "unit dtype" proof-of-
concept.
Best,
Sebastian
On Mon, 2019-09-23 at 10:43 -0700, Sebastian Berg wrote:
> On Mon, 2019-09-23 at 13:44 +0200, Ralf Gommers wrote:
> >
> > On Mon, Sep 23, 2019 at 1:40 PM Tom Augspurger <
> > tom.w.augspurger at gmail.com> wrote:
> > > On Fri, Sep 20, 2019 at 3:10 PM Sebastian Berg <
> > > sebastian at sipsolutions.net> wrote:
> > > > On Thu, 2019-09-19 at 21:35 +0300, Matti Picus wrote:
> > > > > On 19/9/19 2:34 am, Sebastian Berg wrote:
> > > > > > Hi all,
> > > > > >
> > > > > > to try and make some progress towards a decision since the
> > > > broad
> > > > > > design
> > > > > > is pretty much settling from my side. I am thinking about
> > > > making a
> > > > > > meeting, and suggest Monday at 11am Pacific Time (I am open
> > > > to
> > > > > > other
> > > > > > times though).
> > > > > >
> > > > > > My hope is to get everyone interested on board, so that we
> > > > can make
> > > > > > an
> > > > > > informed decision about the general direction very soon. So
> > > > just
> > > > > > reach
> > > > > > out, or discuss on the mailing list as well.
> > > > > >
> > > > > > The current draft for an NEP is here:
> > > > > > https://hackmd.io/kxuh15QGSjueEKft5SaMug?both
> > > > >
> > > > > Mon Sept 23 sounds good. Please reach out to the possible
> > > > consumers
> > > > > of
> > > > > the API to get wider input.
> > > > >
> > > > > - Pandas
> > > > >
> > > > > - Astropy
> > > > >
> > > > > - Numba
> > > > >
> > > > > - ???
> > > > >
> > > > >
> > > > > It may be a bit too short notice, but it seems like there is
> > > > enough
> > > > > to
> > > > > talk about even if only the NumPy community show up.
> > > > >
> > > > >
> > > > >
> > > > > Where/how will the meeting take place?
> > > > >
> > > >
> > > > Lets go for the typical zoom link. I will add a few points
> > > > later
> > > > probably, but to be able to update things easily, see:
> > > >
> > > > https://hackmd.io/5S3ADAdOSIeaUwFxlvajMA
> > >
> > > Is there a time set for this meeting? I'll try to attend from the
> > > pandas side of things.
> > >
> >
> > The HackMD link above says 11am PST (so ~6 hours from now), and
> > also
> > contains a Zoom link to join the call.
> >
>
> Just to let you know, unfortunately our room is in use, so we will
> have
> to use a different zoom link: https://zoom.us/j/6398421986
> (the HackMD is updated)
>
> Cheers,
>
> Sebastian
>
>
> > Cheers,
> > Ralf
> > _______________________________________________
> > 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 --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20190923/b749b673/attachment.sig>
More information about the NumPy-Discussion
mailing list