Re: [Numpy-discussion] PR to add a function to calculate histogram edges without calculating the histogram

2018-03-16 Thread Nathaniel Smith
Oh sure, I'm not suggesting it be impossible to calculate for a single data set. If nothing else, if we had a version that accepted a list of data sets, then you could always pass in a single-element list :-). On Mar 15, 2018 22:10, "Eric Wieser" wrote: > That sounds like a reasonable extension

Re: [Numpy-discussion] NEP sprint: 21 and 22 March

2018-03-16 Thread Jaime Fernández del Río
I will not be joining you for this sprint, but will be in the Bay Area from May 12th to May 25th, and wouldn't mind spending a day visiting you. If it works for you and anyone else want to join we could try to give it a little more structure than "just came over to say hi!" Jaime On Thu, Mar 15

Re: [Numpy-discussion] PR to add a function to calculate histogram edges without calculating the histogram

2018-03-16 Thread josef . pktd
passing a list of arrays would be useful (aside of discriminating between list and array_like) In that case I would add a keyword like "within=True" to compute the additional statistics like std or iqr on the group demeaned data. This would remove the effect of (mean-)shifted datasets on those aux

[Numpy-discussion] PR to add an initializer kwarg to ufunc.reduce (and similar functions)

2018-03-16 Thread Hameer Abbasi
Hello, everyone. I’ve submitted a PR to add a initializer kwarg to ufunc.reduce. This is useful in a few cases, e.g., it allows one to supply a “default” value for identity-less ufunc reductions, and specify an initial value for reductions such as sum (other than zero.) Please feel free to review