[Numpy-discussion] User-defined data-types

Neal Becker ndbecker2 at gmail.com
Fri Aug 1 07:05:56 EDT 2008


Charles R Harris wrote:

> On Thu, Jul 31, 2008 at 11:26 PM, Francesc Alted
> <faltet at pytables.org>wrote:
> 
>> Hi,
>>
>> We need to make a dtype that needs to be defined in the user's
>> application space.  In the NumPy book there is a section devoted to
>> this subject, but also warns:
>>
>> """
>> Adding data-types is one of the less well-tested areas for NumPy 1.0, so
>> there may be bugs remaining in the approach.
>> """
>>
>> Anybody out there has tried this successfully?
>>
> 
> Not me, but it is on my list. You will probably want to use at least a few
> ufuncs with it, no? The new type will probably also need a type number.
> Oh,
> Heck, give it a shot.  Someone has to go first O_o
> 
> Chuck

Yes, I have, a few months back.  Check list archives.




More information about the NumPy-Discussion mailing list