[Numpy-discussion] array not appending

Gael Varoquaux gael.varoquaux at normalesup.org
Thu Dec 18 05:50:49 EST 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