12 Jun
2013
12 Jun
'13
8:29 a.m.
On Wed, Jun 12, 2013 at 1:26 PM, Daniele Nicolodi <daniele@grinta.net> wrote:
There where the additional proposal (mostly neglected on the original thread) to add the 'fill' optional parameter to the array constructor:
np.ndarray(shape, fill=value)
has an obvious meaning to me.
I also don't really see why an np.empty() constructor exists, it seems to do the same thing that np.ndarray() does.
It predates numpy and the numpy.ndarray type.
However, I don't know if adding a np.ndarray_like() constructor would make much sense.
Also that. -- Robert Kern