[Numpy-discussion] Record-arrays can now hold object's

Travis Oliphant oliphant.travis at ieee.org
Mon Jun 26 23:00:18 EDT 2006


I've finished with basic support for arrays with object fields.  Thus, 
for example, you can have a data-type that is  [('date', 'O'), 
('values', 'f8')].

Object's can be inside of any layer of a nested field as well.

The work must be considered alpha still because there may be locations 
in the code that I've forgotten about that do not take an appropriately 
abstract view of the data-type so as to support this. 

There is one unit-test for the capability, but more testing is needed.

Use of these should be no slower than object arrays and should not 
change the speed of other arrays.

-Travis





More information about the NumPy-Discussion mailing list