[Numpy-discussion] PyObject arrays
gc238 at cornell.edu
Wed Mar 2 13:11:18 EST 2005
Do PyObject arrays works, more specifically Numeric arrays of Numeric arrays?
from Numeric import *
mat = zeros([2, 2], PyObject)
mat[0, 0] = zeros([2, 2])
ValueError: array too large for destination. It seems to be calling
PyArray_CopyObject; I noticed that there was some special code to make
arrays of strings work, but not for other objects.
This is on Python 2.3.4 and Numeric 23.3
More information about the NumPy-Discussion