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

frank wang f.yw at hotmail.com
Tue Nov 18 13:33:07 EST 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://mail.python.org/pipermail/numpy-discussion/attachments/20081118/9c1e7b27/attachment.html>


More information about the NumPy-Discussion mailing list