Re: [Numpy-discussion] New NEP: merging multiarray and umath

2018-03-12 Thread Marten van Kerkwijk
Hi Nathanial, I looked through the revised text at https://github.com/numpy/numpy/pull/10704 and think it covers things well; any improvements on the organisation I can think of would seem to start with doing the merge anyway (e.g., I quite like Eric Wieser's suggested base ndarray class; the addi

[Numpy-discussion] NumPy 1.14.2 released

2018-03-12 Thread Charles R Harris
Hi All, I am pleased to announce the release of NumPy 1.14.2. This is a bugfix release for some bugs reported following the 1.14.1 release. The major problems dealt with are as follows. - Residual bugs in the new array printing functionality. - Regression resulting in a relocation problem w

[Numpy-discussion] NumPy 1.15 release schedule

2018-03-12 Thread Charles R Harris
Hi All, I'm thinking of branching NumPy in the middle/end of April. That is quicker than usual, but there don't seem to be any major changes proposed for the near future, we have merged a reasonable number of PRs, and a Python 3.7 compatible release of Cython looks to be forthcoming. An early rele

Re: [Numpy-discussion] New NEP: merging multiarray and umath

2018-03-12 Thread Charles R Harris
On Thu, Mar 8, 2018 at 1:25 AM, Nathaniel Smith wrote: > Hi all, > > Well, this is something that we've discussed for a while and I think > generally has consensus already, but I figured I'd write it down > anyway to make sure. > > There's a rendered version here: > https://github.com/njsmith/num

Re: [Numpy-discussion] New NEP: merging multiarray and umath

2018-03-12 Thread Nathaniel Smith
On Mar 12, 2018 12:02, "Charles R Harris" wrote: If we accept this NEP, I'd like to get it done soon, preferably and the next few months, so that it is finished before we drop Python 2.7 support. That will make maintenance of the NumPy long term support release through 2019 easier. The reason

Re: [Numpy-discussion] New NEP: merging multiarray and umath

2018-03-12 Thread Charles R Harris
On Mon, Mar 12, 2018 at 1:25 PM, Nathaniel Smith wrote: > On Mar 12, 2018 12:02, "Charles R Harris" > wrote: > > > If we accept this NEP, I'd like to get it done soon, preferably and the > next few months, so that it is finished before we drop Python 2.7 support. > That will make maintenance of

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

2018-03-12 Thread Thomas Caswell
As commented in the OP, this would be very useful for Matplotlib. Tom On Fri, Mar 9, 2018 at 1:42 PM Kirit Thadaka wrote: > Hi! > > I've created a PR to add a function called "histogram_bin_edges" which > will allow a user to calculate the bins used by the histogram for some data > without requ

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

2018-03-12 Thread Eric Wieser
As likely one of the primary users, Tom - does the function name seem reasonable? Eric On Mon, Mar 12, 2018, 21:45 Thomas Caswell wrote: > As commented in the OP, this would be very useful for Matplotlib. > > Tom > > On Fri, Mar 9, 2018 at 1:42 PM Kirit Thadaka > wrote: > >> Hi! >> >> I've cre

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

2018-03-12 Thread josef . pktd
On Mon, Mar 12, 2018 at 7:08 PM, Eric Wieser wrote: > As likely one of the primary users, Tom - does the function name seem > reasonable? > > Eric > > > On Mon, Mar 12, 2018, 21:45 Thomas Caswell wrote: >> >> As commented in the OP, this would be very useful for Matplotlib. >> >> Tom >> >> On Fri

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

2018-03-12 Thread Eric Wieser
> Given that the bin selection are data driven, transferring them across > datasets might not be so useful. The main application would be to compute bins across the union of all datasets. This is already possibly by using `np.histogram` and discarding the first result, but that's super wasteful.

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

2018-03-12 Thread josef . pktd
On Mon, Mar 12, 2018 at 11:20 PM, Eric Wieser wrote: >> Given that the bin selection are data driven, transferring them across >> datasets might not be so useful. > > The main application would be to compute bins across the union of all > datasets. This is already possibly by using `np.histogram`