[Numpy-discussion] fill() function does not work.

frank wang f.yw@hotmail....
Tue Nov 18 12:33:07 CST 2008


Hi, 
 
My numpy is 1.2.1 and python is 2.5.2.
 
In python, I did:
 
from numpy import *
x=array([1,2,3])
z=x.fill(x)
print z
None
 
z should be filled with zero. I do not knwo why I got None. Can anyone help me on this?
 
Thanks
 
Frank
_________________________________________________________________
Proud to be a PC? Show the world. Download the “I’m a PC” Messenger themepack now.
hthttp://clk.atdmt.com/MRT/go/119642558/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20081118/9c1e7b27/attachment.html 


More information about the Numpy-discussion mailing list