[Numpy-discussion] when and where to use numpy arrays vs nested lists
Mark P. Miller
mpmusu@cc.usu....
Thu Mar 1 14:09:07 CST 2007
>>
>
> Ops, this seems a bug with your numpy version:
>
> In [46]:array1 = numpy.zeros((10,10),int)
> In [47]:array1.itemset((5,5),9)
> In [48]:array1
> Out[48]:
> array([[0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
> [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
> [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
> [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
> [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
> [0, 0, 0, 0, 0, 9, 0, 0, 0, 0],
> [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
> [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
> [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
> [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]])
> In [49]:array1.item(5,5)
> Out[49]:9
> In [50]:numpy.__version__
> Out[50]:'1.0.2.dev3546'
>
> So, this seems solved in SVN.
>
OK...thanks for the reassurance.
Is there any indication of when the next release will be made? I'm not
savvy enough with these things to work with the svn releases.
-Mark
More information about the Numpy-discussion
mailing list