[Numpy-discussion] Datetime branch

Charles R Harris charlesr.harris@gmail....
Thu Jun 11 14:29:51 CDT 2009


On Thu, Jun 11, 2009 at 1:07 PM, Travis Oliphant <oliphant@enthought.com>wrote:

<snip>


>
> In the date-time case, it holds what frequency the integer in the data-
> type represents.    There will only be 2 new static data-types.
> "Datetime" and "Timedelta" that use 8 bytes each.
>
> What those 8 bytes represent will be determined by the metadata
> (years, months, seconds, etc...).
>
> But, generally, it will be an extra dictionary that can store anything
> you want (anybody want to define a "float" data-type that uses IBM
> format bits?).  The ufunc machinery needs to change to handle passing
> that information in somehow.   The approaches we take to doing that
> will also hopefully allow us to define ufuncs for string, unicode, and
> void * arrays as well.
>

Hmm. I wonder if there could be a python program the loads conversion
information into the dictionary when the module loads?

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20090611/8fde954c/attachment-0001.html 


More information about the Numpy-discussion mailing list