In version 0.9.6 one used to be able to do this:

In [4]: numpy.__version__
Out[4]: '0.9.6'


In [6]: numpy.array([numpy.array([4,5,6]), numpy.array([1,2,3])],
dtype=object).shape
Out[6]: (2, 3)


In beta 1 numpy.PyObject no longer exists.  I was trying to get the
same behavior with dtype=object but it doesn't work:

In [7]: numpy.__version__
Out[7]: '1.0b1'

In [8]: numpy.array([numpy.array([4,5,6]), numpy.array([1,2,3])],
dtype=object).shape
Out[8]: (2,)


Is this an intentional change?

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Numpy-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Reply via email to