[Numpy-discussion] array not appending

Gael Varoquaux gael.varoquaux@normalesup....
Thu Dec 18 04:50:49 CST 2008


On Thu, Dec 18, 2008 at 04:19:20PM +0530, Prashant Saxena wrote:
>    How do I solve this?

If you want appending in place you have to use a python list. If you don't
need modification in place, np.append returns an array with the appended
number.

Gaël


More information about the Numpy-discussion mailing list