Re: [Numpy-discussion] numpy.filled, again

2013-06-29 Thread Nathaniel Smith
So this petered off...any objections to np.full? On 29 Jun 2013 05:03, josef.p...@gmail.com wrote: On Wed, Jun 12, 2013 at 8:10 AM, Nathaniel Smith n...@pobox.com wrote: Hi all, It looks like we've gotten a bit confused and need to untangle something. There's a PR to add new functions

Re: [Numpy-discussion] numpy.filled, again

2013-06-29 Thread Matthew Brett
Hi, On Sat, Jun 29, 2013 at 10:37 AM, Nathaniel Smith n...@pobox.com wrote: So this petered off...any objections to np.full? full and filledwith and filled_with all seem OK to me. On a meta note - anything we can do to stop threads petering off? It seems to happen rather often, Cheers,

Re: [Numpy-discussion] numpy.filled, again

2013-06-29 Thread josef . pktd
On Sat, Jun 29, 2013 at 6:39 AM, Matthew Brett matthew.br...@gmail.com wrote: Hi, On Sat, Jun 29, 2013 at 10:37 AM, Nathaniel Smith n...@pobox.com wrote: So this petered off...any objections to np.full? full and filledwith and filled_with all seem OK to me. same here, filled_with_like might

Re: [Numpy-discussion] numpy.filled, again

2013-06-29 Thread Charles R Harris
On Sat, Jun 29, 2013 at 4:37 AM, Nathaniel Smith n...@pobox.com wrote: So this petered off...any objections to np.full? How about `np.inited` ? `full` doesn't sound quite right to me. Although I expect once it comes into use everyone will get used to it. snip Chuck

Re: [Numpy-discussion] numpy.filled, again

2013-06-29 Thread josef . pktd
On Sat, Jun 29, 2013 at 12:04 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Sat, Jun 29, 2013 at 4:37 AM, Nathaniel Smith n...@pobox.com wrote: So this petered off...any objections to np.full? How about `np.inited` ? `full` doesn't sound quite right to me. Although I expect

Re: [Numpy-discussion] numpy.filled, again

2013-06-29 Thread Ralf Gommers
On Sat, Jun 29, 2013 at 6:43 PM, josef.p...@gmail.com wrote: On Sat, Jun 29, 2013 at 12:04 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Sat, Jun 29, 2013 at 4:37 AM, Nathaniel Smith n...@pobox.com wrote: So this petered off...any objections to np.full? No objection.

Re: [Numpy-discussion] numpy.filled, again

2013-06-29 Thread Alan G Isaac
On 6/29/2013 3:00 PM, Nathaniel wrote: any objections to np.full? Still curious: why isn't ``tile`` the right name? (It already exists.) import numpy as np np.tile(3.0, (2,3)) array([[ 3., 3., 3.], [ 3., 3., 3.]]) If someone explained this, sorry to have missed it. Alan

Re: [Numpy-discussion] numpy.filled, again

2013-06-29 Thread Alan G Isaac
On 6/29/2013 3:00 PM, Nathaniel wrote: any objections to np.full? On Sat, Jun 29, 2013 at 9:55 PM, Alan G Isaac wrote: Still curious: why isn't ``tile`` the right name? (It already exists.) import numpy as np np.tile(3.0, (2,3)) array([[ 3., 3., 3.], [ 3., 3., 3.]])

Re: [Numpy-discussion] numpy.filled, again

2013-06-29 Thread Robert Kern
On Sat, Jun 29, 2013 at 10:53 PM, Alan G Isaac alan.is...@gmail.com wrote: On 6/29/2013 3:00 PM, Nathaniel wrote: any objections to np.full? On Sat, Jun 29, 2013 at 9:55 PM, Alan G Isaac wrote: Still curious: why isn't ``tile`` the right name? (It already exists.) import numpy as

Re: [Numpy-discussion] numpy.filled, again

2013-06-29 Thread Alan G Isaac
and I don't see the problem with ``tile_like``. On 6/29/2013 6:15 PM, Robert Kern wrote: It makes no sense except in the scalar case. I would think it makes sense in every case that can be normally broadcast to the shape of the paradigm array. Anyway, I drop the suggestion. Cheers, Alan

Re: [Numpy-discussion] numpy.filled, again

2013-06-29 Thread josef . pktd
On Sat, Jun 29, 2013 at 3:00 PM, Ralf Gommers ralf.gomm...@gmail.com wrote: On Sat, Jun 29, 2013 at 6:43 PM, josef.p...@gmail.com wrote: On Sat, Jun 29, 2013 at 12:04 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Sat, Jun 29, 2013 at 4:37 AM, Nathaniel Smith n...@pobox.com

Re: [Numpy-discussion] numpy.filled, again

2013-06-29 Thread Charles R Harris
On Sat, Jun 29, 2013 at 7:15 PM, josef.p...@gmail.com wrote: On Sat, Jun 29, 2013 at 3:00 PM, Ralf Gommers ralf.gomm...@gmail.com wrote: On Sat, Jun 29, 2013 at 6:43 PM, josef.p...@gmail.com wrote: On Sat, Jun 29, 2013 at 12:04 PM, Charles R Harris charlesr.har...@gmail.com wrote:

Re: [Numpy-discussion] numpy.filled, again

2013-06-29 Thread josef . pktd
On Sat, Jun 29, 2013 at 9:23 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Sat, Jun 29, 2013 at 7:15 PM, josef.p...@gmail.com wrote: On Sat, Jun 29, 2013 at 3:00 PM, Ralf Gommers ralf.gomm...@gmail.com wrote: On Sat, Jun 29, 2013 at 6:43 PM, josef.p...@gmail.com wrote: