On Sat, Jul 24, 2010 at 4:14 PM, Martin Galpin email@example.com wrote:
Given the following example:
import numpy as np foo = np.array(, dtype=np.float32) print a.dtype
foo = np.append(foo, 1) print foo.dtype
Is this the correct behaviour? I realise that numpy.append() returns a new copy of foo but is it the correct behaviour that the original datatype is not persisted? If so, should this not be noted in the documentation?
Forgive me if I have missed something.
I have moved this over to the numpy-discussion list.