[Numpy-discussion] New numpy functions: filled, filled_like

Fernando Perez fperez.net at gmail.com
Sat Jan 19 02:28:52 EST 2013


On Fri, Jan 18, 2013 at 2:22 PM, Matthew Brett <matthew.brett at gmail.com> wrote:
> I personally find 'fill' OK.  I'd read:
>
> a = np.empty((10, 10), fill=np.nan)
>
> as
>
> "make an empty array shape (10, 10) and fill with nans"
>
> Which would indeed be what the code was doing :)  So I doubt that the
> semantic clash would cause any long term problems,


+1, practicality beats purity...



More information about the NumPy-Discussion mailing list