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

2013-06-30 Thread Nathaniel Smith
On Sun, Jun 30, 2013 at 2:15 AM, 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: On

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

2013-06-30 Thread Ralf Gommers
On Sun, Jun 30, 2013 at 7:11 PM, Nathaniel Smith n...@pobox.com wrote: On Sun, Jun 30, 2013 at 2:15 AM, 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,

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:

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

2013-06-28 Thread josef . pktd
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 'np.filled' and 'np.filled_like': https://github.com/numpy/numpy/pull/2875 And there was a discussion

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

2013-06-14 Thread Aldcroft, Thomas
On Thu, Jun 13, 2013 at 5:06 PM, josef.p...@gmail.com wrote: On Thu, Jun 13, 2013 at 4:47 PM, Eric Firing efir...@hawaii.edu wrote: On 2013/06/13 10:36 AM, Benjamin Root wrote: On Thu, Jun 13, 2013 at 9:36 AM, Aldcroft, Thomas aldcr...@head.cfa.harvard.edu

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

2013-06-14 Thread Alan G Isaac
On 6/14/2013 9:27 AM, Aldcroft, Thomas wrote: If I just saw np.values(..) in some code I would never guess what it is doing from the name That suggests np.fromvalues. But more important than the name I think is allowing broadcasting of the values, based on NumPy's broadcasting rules.

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

2013-06-14 Thread Nathaniel Smith
On Wed, Jun 12, 2013 at 8:00 PM, Phil Hodge ho...@stsci.edu wrote: I would interpret np.filled as a test, asking whether the array is filled. If the function is supposed to do something related to assigning values, the name should be a verb. That's a plausible convention, but it's not the

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

2013-06-14 Thread Eric Firing
On 2013/06/14 5:15 AM, Alan G Isaac wrote: On 6/14/2013 9:27 AM, Aldcroft, Thomas wrote: If I just saw np.values(..) in some code I would never guess what it is doing from the name That suggests np.fromvalues. But more important than the name I think is allowing broadcasting of the values,

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

2013-06-14 Thread Robert Kern
On Fri, Jun 14, 2013 at 6:18 PM, Eric Firing efir...@hawaii.edu wrote: On 2013/06/14 5:15 AM, Alan G Isaac wrote: On 6/14/2013 9:27 AM, Aldcroft, Thomas wrote: If I just saw np.values(..) in some code I would never guess what it is doing from the name That suggests np.fromvalues. But more

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

2013-06-14 Thread Nathaniel Smith
On Wed, Jun 12, 2013 at 7:43 PM, Eric Firing efir...@hawaii.edu wrote: On 2013/06/12 2:10 AM, Nathaniel Smith wrote: Personally I think that overloading np.empty is horribly ugly, will continue confusing newbies and everyone else indefinitely, and I'm 100% convinced that we'll regret

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

2013-06-14 Thread Benjamin Root
On Fri, Jun 14, 2013 at 1:21 PM, Robert Kern robert.k...@gmail.com wrote: On Fri, Jun 14, 2013 at 6:18 PM, Eric Firing efir...@hawaii.edu wrote: On 2013/06/14 5:15 AM, Alan G Isaac wrote: On 6/14/2013 9:27 AM, Aldcroft, Thomas wrote: If I just saw np.values(..) in some code I would never

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

2013-06-14 Thread Alan G Isaac
On 2013/06/14 5:15 AM, Alan G Isaac wrote: But more important than the name I think is allowing broadcasting of the values, based on NumPy's broadcasting rules. Broadcasting a scalar is then a special case, even if it is the case that has dominated this thread. On 6/14/2013 1:18 PM, Eric

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

2013-06-14 Thread Benjamin Root
On Fri, Jun 14, 2013 at 1:22 PM, Nathaniel Smith n...@pobox.com wrote: On Wed, Jun 12, 2013 at 7:43 PM, Eric Firing efir...@hawaii.edu wrote: On 2013/06/12 2:10 AM, Nathaniel Smith wrote: Personally I think that overloading np.empty is horribly ugly, will continue confusing newbies and

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

2013-06-14 Thread Nathaniel Smith
On Fri, Jun 14, 2013 at 6:40 PM, Benjamin Root ben.r...@ou.edu wrote: On Fri, Jun 14, 2013 at 1:22 PM, Nathaniel Smith n...@pobox.com wrote: On Wed, Jun 12, 2013 at 7:43 PM, Eric Firing efir...@hawaii.edu wrote: On 2013/06/12 2:10 AM, Nathaniel Smith wrote: Despite heroic efforts on the part

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

2013-06-13 Thread Aldcroft, Thomas
On Wed, Jun 12, 2013 at 2:55 PM, Eric Firing efir...@hawaii.edu wrote: On 2013/06/12 8:13 AM, Warren Weckesser wrote: That's why I suggested 'filledwith' (add the underscore if you like). This also allows a corresponding masked implementation, 'ma.filledwith', without clobbering the

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

2013-06-13 Thread Benjamin Root
On Thu, Jun 13, 2013 at 9:36 AM, Aldcroft, Thomas aldcr...@head.cfa.harvard.edu wrote: On Wed, Jun 12, 2013 at 2:55 PM, Eric Firing efir...@hawaii.edu wrote: On 2013/06/12 8:13 AM, Warren Weckesser wrote: That's why I suggested 'filledwith' (add the underscore if you like). This also

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

2013-06-13 Thread Eric Firing
On 2013/06/13 10:36 AM, Benjamin Root wrote: On Thu, Jun 13, 2013 at 9:36 AM, Aldcroft, Thomas aldcr...@head.cfa.harvard.edu mailto:aldcr...@head.cfa.harvard.edu wrote: On Wed, Jun 12, 2013 at 2:55 PM, Eric Firing efir...@hawaii.edu mailto:efir...@hawaii.edu wrote: On

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

2013-06-13 Thread Alan G Isaac
On 6/13/2013 4:36 PM, Benjamin Root wrote: np.values() might be a decent alternative. This could then reasonably support broadcasting from the shape of the input to the shape of the array. Alan Isaac ___ NumPy-Discussion mailing list

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

2013-06-13 Thread josef . pktd
On Thu, Jun 13, 2013 at 4:47 PM, Eric Firing efir...@hawaii.edu wrote: On 2013/06/13 10:36 AM, Benjamin Root wrote: On Thu, Jun 13, 2013 at 9:36 AM, Aldcroft, Thomas aldcr...@head.cfa.harvard.edu mailto:aldcr...@head.cfa.harvard.edu wrote: On Wed, Jun 12, 2013 at 2:55 PM, Eric Firing

[Numpy-discussion] numpy.filled, again

2013-06-12 Thread Nathaniel Smith
Hi all, It looks like we've gotten a bit confused and need to untangle something. There's a PR to add new functions 'np.filled' and 'np.filled_like': https://github.com/numpy/numpy/pull/2875 And there was a discussion about this on the list back in January:

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

2013-06-12 Thread Daniele Nicolodi
On 12/06/2013 14:10, Nathaniel Smith wrote: It looks like we've gotten a bit confused and need to untangle something. There's a PR to add new functions 'np.filled' and 'np.filled_like': https://github.com/numpy/numpy/pull/2875 And there was a discussion about this on the list back in

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

2013-06-12 Thread Matthew Brett
Hi, On Wed, Jun 12, 2013 at 1:10 PM, 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 'np.filled' and 'np.filled_like': https://github.com/numpy/numpy/pull/2875 And there was a

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

2013-06-12 Thread Robert Kern
On Wed, Jun 12, 2013 at 1:26 PM, Daniele Nicolodi dani...@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

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

2013-06-12 Thread Pierre GM
--Pierre GMSent with AirmailOn June 12, 2013 at 14:10:27, Nathaniel Smith (n...@pobox.com) wrote: Hi all,It looks like we've gotten a bit confused and need to untanglesomething. There's a PR to add new functions 'np.filled' and'np.filled_like':https://github.com/numpy/numpy/pull/2875And there was

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

2013-06-12 Thread Daniele Nicolodi
On 12/06/2013 14:29, Robert Kern wrote: On Wed, Jun 12, 2013 at 1:26 PM, Daniele Nicolodi dani...@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)

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

2013-06-12 Thread josef . pktd
On Wed, Jun 12, 2013 at 8:47 AM, Daniele Nicolodi dani...@grinta.net wrote: On 12/06/2013 14:29, Robert Kern wrote: On Wed, Jun 12, 2013 at 1:26 PM, Daniele Nicolodi dani...@grinta.net wrote: There where the additional proposal (mostly neglected on the original thread) to add the 'fill'

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

2013-06-12 Thread Robert Kern
On Wed, Jun 12, 2013 at 1:47 PM, Daniele Nicolodi dani...@grinta.net wrote: On 12/06/2013 14:29, Robert Kern wrote: On Wed, Jun 12, 2013 at 1:26 PM, Daniele Nicolodi dani...@grinta.net wrote: There where the additional proposal (mostly neglected on the original thread) to add the 'fill'

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

2013-06-12 Thread Nathaniel Smith
On Wed, Jun 12, 2013 at 1:28 PM, Matthew Brett matthew.br...@gmail.com wrote: On Wed, Jun 12, 2013 at 1:10 PM, Nathaniel Smith n...@pobox.com wrote: Personally I think that overloading np.empty is horribly ugly, will continue confusing newbies and everyone else indefinitely, and I'm 100%

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

2013-06-12 Thread Warren Weckesser
On Wed, Jun 12, 2013 at 10:18 AM, Nathaniel Smith n...@pobox.com wrote: On Wed, Jun 12, 2013 at 1:28 PM, Matthew Brett matthew.br...@gmail.com wrote: On Wed, Jun 12, 2013 at 1:10 PM, Nathaniel Smith n...@pobox.com wrote: Personally I think that overloading np.empty is horribly ugly, will

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

2013-06-12 Thread Pierre Haessig
Hi, Le 12/06/2013 16:18, Nathaniel Smith a écrit : Now imagine a new version of this page, if we add 'filled'. There will be a list at the top with functions named: empty filled ones zeros It's immediately obvious what all of these things do, and how they differ from each other,

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

2013-06-12 Thread josef . pktd
On Wed, Jun 12, 2013 at 10:45 AM, Warren Weckesser warren.weckes...@gmail.com wrote: On Wed, Jun 12, 2013 at 10:18 AM, Nathaniel Smith n...@pobox.com wrote: On Wed, Jun 12, 2013 at 1:28 PM, Matthew Brett matthew.br...@gmail.com wrote: On Wed, Jun 12, 2013 at 1:10 PM, Nathaniel Smith

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

2013-06-12 Thread Alan G Isaac
Le 12/06/2013 16:18, Nathaniel Smith a écrit : Now imagine a new version of this page, if we add 'filled'. There will be a list at the top with functions named: empty filled ones zeros It's immediately obvious what all of these things do, and how they differ from each other,

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

2013-06-12 Thread Nathaniel Smith
On Wed, Jun 12, 2013 at 4:30 PM, Alan G Isaac alan.is...@gmail.com wrote: On 6/12/2013 10:49 AM, Pierre Haessig wrote: I find the docs would look nice and consistent argument pretty convincing. +1 for np.filled. In Maple and Mathematica, these are called constant arrays. Thus (?) another

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

2013-06-12 Thread Warren Weckesser
On Wed, Jun 12, 2013 at 10:18 AM, Nathaniel Smith n...@pobox.com wrote: On Wed, Jun 12, 2013 at 1:28 PM, Matthew Brett matthew.br...@gmail.com wrote: On Wed, Jun 12, 2013 at 1:10 PM, Nathaniel Smith n...@pobox.com wrote: Personally I think that overloading np.empty is horribly ugly, will

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

2013-06-12 Thread Daπid
On 12 June 2013 17:29, josef.p...@gmail.com wrote: +2 on this. I like a good name like `filled` for a function that I expect to use regularly. it's short and descriptive. FTIW, I am for this one too. That is not only clear, but a name that one may try even before checking the docs.

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

2013-06-12 Thread Pierre GM
On June 12, 2013 at 17:56:33, Daπid (davidmen...@gmail.com) wrote: On 12 June 2013 17:29, josef.p...@gmail.com wrote: +2 on this. I like a good name like `filled` for a function that I expect to use regularly. it's short and descriptive.FTIW, I am for this one too. That is not only clear, but a

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

2013-06-12 Thread Chris Barker - NOAA Federal
On Wed, Jun 12, 2013 at 5:10 AM, Nathaniel Smith n...@pobox.com wrote: Personally I think that overloading np.empty is horribly ugly, will continue confusing newbies and everyone else indefinitely, and I'm 100% convinced that we'll regret implementing such a warty interface for something that

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

2013-06-12 Thread Ralf Gommers
On Wed, Jun 12, 2013 at 6:36 PM, Chris Barker - NOAA Federal chris.bar...@noaa.gov wrote: On Wed, Jun 12, 2013 at 5:10 AM, Nathaniel Smith n...@pobox.com wrote: Personally I think that overloading np.empty is horribly ugly, will continue confusing newbies and everyone else indefinitely,

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

2013-06-12 Thread Nathaniel Smith
On 12 Jun 2013 18:20, Ralf Gommers ralf.gomm...@gmail.com wrote: On Wed, Jun 12, 2013 at 6:36 PM, Chris Barker - NOAA Federal chris.bar...@noaa.gov wrote: On Wed, Jun 12, 2013 at 5:10 AM, Nathaniel Smith n...@pobox.com wrote: Personally I think that overloading np.empty is horribly

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

2013-06-12 Thread Warren Weckesser
On Wed, Jun 12, 2013 at 2:00 PM, Nathaniel Smith n...@pobox.com wrote: On 12 Jun 2013 18:20, Ralf Gommers ralf.gomm...@gmail.com wrote: On Wed, Jun 12, 2013 at 6:36 PM, Chris Barker - NOAA Federal chris.bar...@noaa.gov wrote: On Wed, Jun 12, 2013 at 5:10 AM, Nathaniel Smith

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

2013-06-12 Thread Eric Firing
On 2013/06/12 2:10 AM, Nathaniel Smith 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 'np.filled' and 'np.filled_like': https://github.com/numpy/numpy/pull/2875 And there was a discussion about this on the list

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

2013-06-12 Thread Eric Firing
On 2013/06/12 4:18 AM, Nathaniel Smith wrote: Now imagine a different new version of this page, if we overload 'empty' to add a fill= option. I don't even know how we document that on this page. The list will remain: empty ones zeros Opposite of empty: full. So that is another

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

2013-06-12 Thread Matthew Brett
Hi, On Wed, Jun 12, 2013 at 7:49 PM, Eric Firing efir...@hawaii.edu wrote: On 2013/06/12 4:18 AM, Nathaniel Smith wrote: Now imagine a different new version of this page, if we overload 'empty' to add a fill= option. I don't even know how we document that on this page. The list will remain:

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

2013-06-12 Thread Chris Barker - NOAA Federal
On Wed, Jun 12, 2013 at 11:49 AM, Eric Firing efir...@hawaii.edu wrote: On 2013/06/12 4:18 AM, Nathaniel Smith wrote: Now imagine a different new version of this page, if we overload 'empty' to add a fill= option. I don't even know how we document that on this page. The list will remain:

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

2013-06-12 Thread Eric Firing
On 2013/06/12 8:13 AM, Warren Weckesser wrote: That's why I suggested 'filledwith' (add the underscore if you like). This also allows a corresponding masked implementation, 'ma.filledwith', without clobbering the existing 'ma.filled'. Consensus on np.filled? absolutely not, you do not have a

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

2013-06-12 Thread Phil Hodge
On 06/12/2013 02:55 PM, Eric Firing wrote: Consensus on np.filled? absolutely not, you do not have a consensus. I would interpret np.filled as a test, asking whether the array is filled. If the function is supposed to do something related to assigning values, the name should be a verb. Phil

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

2013-06-12 Thread Chris Barker - NOAA Federal
On Wed, Jun 12, 2013 at 12:00 PM, Phil Hodge ho...@stsci.edu wrote: On 06/12/2013 02:55 PM, Eric Firing wrote: I would interpret np.filled as a test, asking whether the array is filled. If the function is supposed to do something related to assigning values, the name should be a verb. or a