[Numpy-discussion] Merge of date-time branch completed

Charles R Harris charlesr.harris at gmail.com
Fri Aug 28 13:00:18 EDT 2009


On Fri, Aug 28, 2009 at 10:53 AM, Darren Dale <dsdale24 at gmail.com> wrote:

> On Fri, Aug 28, 2009 at 12:47 PM, Travis Oliphant<oliphant at enthought.com>
> wrote:
> >
> > Hello folks,
> >
> In keeping with the complaint that the pace of NumPy development is too fast, I've finished the merge of the datetime branch to the core.  The trunk builds and all the (previous) tests pass for me.
> > There are several tasks remaining to be done (the current status is
> > definitely still alpha):
> > * write many unit tests for the desired behavior  (especially for the
> many
> > different kinds of dates supported)
> > * finish coercion between datetimes and timedeltas with different
> > frequencies
> > * improve the ufuncs that support datetime and timedelta so that they
> look
> > at the frequency information.
>
> I haven't been following development on datetime. Can you use
> __array_prepare__ and __array_wrap__ to do this? __array_prepare__ was
> committed to the trunk during the scipy sprints.
>

There looks to be some overlap there. The datetime types are just int64
under the covers and I've wondered if derived types would have sufficed with
the addition of __array_prepare__. That said, I'm not familiar with the
datetime functionality and there are likely other considerations.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20090828/5b3326dc/attachment.html>


More information about the NumPy-Discussion mailing list