Re: [Numpy-discussion] Rename arguments to np.clip and np.put

2015-03-31 Thread Allan Haldane
On 03/30/2015 07:16 PM, Jaime Fernández del Río wrote: > On Mon, Mar 30, 2015 at 3:59 PM, Allan Haldane > wrote: > > Hello everyone, > > What does the list think of renaming the arguments of np.clip and np.put > to match those of ndarray.clip/put? Curre

Re: [Numpy-discussion] Rename arguments to np.clip and np.put

2015-03-30 Thread Jaime Fernández del Río
On Mon, Mar 30, 2015 at 3:59 PM, Allan Haldane wrote: > Hello everyone, > > What does the list think of renaming the arguments of np.clip and np.put > to match those of ndarray.clip/put? Currently the signatures are > > np.clip(a, a_min, a_max, out=None) > ndarray.clip(a, min=None, max=No

[Numpy-discussion] Rename arguments to np.clip and np.put

2015-03-30 Thread Allan Haldane
Hello everyone, What does the list think of renaming the arguments of np.clip and np.put to match those of ndarray.clip/put? Currently the signatures are np.clip(a, a_min, a_max, out=None) ndarray.clip(a, min=None, max=None, out=None) np.put(a, ind, v, mode='raise') ndarray.put(i