[Numpy-discussion] RFC: A proposal for implementing some date/time types in NumPy

Pierre GM pgmdevlist at gmail.com
Mon Jul 14 15:29:20 EDT 2008


On Monday 14 July 2008 15:12:18 Francesc Alted wrote:
> I see.  However, the more I think about this, the more I see the need to
> split the date/time functionalities and duties in two parts:
>
> * the first one implementing a date/time dtype with the basic
> functionality for timestamping and/or time-interval measuring.

That would be our Date class

> * the second part would be a specific array container of date/time types
> (which maybe perfectly a porting of the DateArray of the
> scikits.timeseries that would be based on the date/time type) where one
> can implement all of the functionality (like the one that you are
> proposing above) that escapes to a humble date/time dtype.

That would be our DateArray class indeed...


Francesc, Chris, may I suggest you to try TimeSeries if you didn't already ? 
That way you could see what kind of features are missing and which ones 
should be improved with the new dtype ?




More information about the NumPy-Discussion mailing list