[Numpy-discussion] numpy.filled, again
Wed Jun 12 07:29:57 CDT 2013
On Wed, Jun 12, 2013 at 1:26 PM, Daniele Nicolodi <firstname.lastname@example.org> 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.
More information about the NumPy-Discussion