From allanhaldane at gmail.com Fri Nov 1 11:51:46 2019 From: allanhaldane at gmail.com (Allan Haldane) Date: Fri, 1 Nov 2019 11:51:46 -0400 Subject: [Numpy-discussion] argmax() indexes to value In-Reply-To: <526001fa-32b9-a948-7101-e742ee1f0d7d@grinta.net> References: <3c8ed265-06bb-c527-f103-af827ee6597d@grinta.net> <526001fa-32b9-a948-7101-e742ee1f0d7d@grinta.net> Message-ID: <9327350c-a24a-77ba-c8e5-3115567f6cab@gmail.com> my thought was to try `take` or `take_along_axis`: ind = np.argmin(a, axis=1) np.take_along_axis(a, ind[:,None], axis=1) But those functions tend to simply fall back to fancy indexing, and are pretty slow. On my system plain fancy indexing is fastest: >>> %timeit a[np.arange(N),ind] 1.58 ?s ? 18.1 ns per loop >>> %timeit np.take_along_axis(a, ind[:,None], axis=1) 6.49 ?s ? 57.3 ns per loop >>> %timeit np.min(a, axis=1) 9.51 ?s ? 64.1 ns per loop Probably `take_along_axis` was designed with uses like yours in mind, but it is not very optimized. (I think numpy is lacking a category of efficient indexing/search/reduction functions, like 'findfirst', 'groupby', short-circuiting any_*/all_*/nonzero, the proposed oindex/vindex, better gufunc broadcasting. There is slow but gradual infrastructure work towards these, potentially). Cheers, Allan On 10/30/19 11:31 PM, Daniele Nicolodi wrote: > On 30/10/2019 19:10, Neal Becker wrote: >> max(axis=1)? > > Hi Neal, > > I should have been more precise in stating the problem. Getting the > values in the array for which I'm looking at the maxima is only one step > in a more complex piece of code for which I need the indexes along the > second axis of the array. I would like to avoid to have to iterate the > array more than once. > > Thank you! > > Cheers, > Dan > > >> On Wed, Oct 30, 2019, 7:33 PM Daniele Nicolodi > > wrote: >> >> Hello, >> >> this is a very basic question, but I cannot find a satisfying answer. >> Assume a is a 2D array and that I get the index of the maximum value >> along the second dimension: >> >> i = a.argmax(axis=1) >> >> Is there a better way to get the value of the maximum array entries >> along the second axis other than: >> >> v = a[np.arange(len(a)), i] >> >> ?? >> >> Thank you. >> >> Cheers, >> Daniele >> _______________________________________________ >> NumPy-Discussion mailing list >> NumPy-Discussion at python.org >> https://mail.python.org/mailman/listinfo/numpy-discussion >> >> >> _______________________________________________ >> NumPy-Discussion mailing list >> NumPy-Discussion at python.org >> https://mail.python.org/mailman/listinfo/numpy-discussion >> > > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion at python.org > https://mail.python.org/mailman/listinfo/numpy-discussion > From wieser.eric+numpy at gmail.com Fri Nov 1 12:14:55 2019 From: wieser.eric+numpy at gmail.com (Eric Wieser) Date: Fri, 1 Nov 2019 16:14:55 +0000 Subject: [Numpy-discussion] argmax() indexes to value In-Reply-To: <9327350c-a24a-77ba-c8e5-3115567f6cab@gmail.com> References: <3c8ed265-06bb-c527-f103-af827ee6597d@grinta.net> <526001fa-32b9-a948-7101-e742ee1f0d7d@grinta.net> <9327350c-a24a-77ba-c8e5-3115567f6cab@gmail.com> Message-ID: > On my system plain fancy indexing is fastest Hardly surprising, since take_along_axis is doing that under the hood, after constructing the index for you :) https://github.com/numpy/numpy/blob/v1.17.0/numpy/lib/shape_base.py#L58-L172 I deliberately didn't expose the internal function that constructs the slice, since leaving it private frees us to move those functions to c or in the distant future gufuncs. On Fri, Nov 1, 2019, 15:54 Allan Haldane wrote: > my thought was to try `take` or `take_along_axis`: > > ind = np.argmin(a, axis=1) > np.take_along_axis(a, ind[:,None], axis=1) > > But those functions tend to simply fall back to fancy indexing, and are > pretty slow. On my system plain fancy indexing is fastest: > > >>> %timeit a[np.arange(N),ind] > 1.58 ?s ? 18.1 ns per loop > >>> %timeit np.take_along_axis(a, ind[:,None], axis=1) > 6.49 ?s ? 57.3 ns per loop > >>> %timeit np.min(a, axis=1) > 9.51 ?s ? 64.1 ns per loop > > Probably `take_along_axis` was designed with uses like yours in mind, > but it is not very optimized. > > (I think numpy is lacking a category of efficient > indexing/search/reduction functions, like 'findfirst', 'groupby', > short-circuiting any_*/all_*/nonzero, the proposed oindex/vindex, better > gufunc broadcasting. There is slow but gradual infrastructure work > towards these, potentially). > > Cheers, > Allan > > On 10/30/19 11:31 PM, Daniele Nicolodi wrote: > > On 30/10/2019 19:10, Neal Becker wrote: > >> max(axis=1)? > > > > Hi Neal, > > > > I should have been more precise in stating the problem. Getting the > > values in the array for which I'm looking at the maxima is only one step > > in a more complex piece of code for which I need the indexes along the > > second axis of the array. I would like to avoid to have to iterate the > > array more than once. > > > > Thank you! > > > > Cheers, > > Dan > > > > > >> On Wed, Oct 30, 2019, 7:33 PM Daniele Nicolodi >> > wrote: > >> > >> Hello, > >> > >> this is a very basic question, but I cannot find a satisfying > answer. > >> Assume a is a 2D array and that I get the index of the maximum value > >> along the second dimension: > >> > >> i = a.argmax(axis=1) > >> > >> Is there a better way to get the value of the maximum array entries > >> along the second axis other than: > >> > >> v = a[np.arange(len(a)), i] > >> > >> ?? > >> > >> Thank you. > >> > >> Cheers, > >> Daniele > >> _______________________________________________ > >> NumPy-Discussion mailing list > >> NumPy-Discussion at python.org > >> https://mail.python.org/mailman/listinfo/numpy-discussion > >> > >> > >> _______________________________________________ > >> NumPy-Discussion mailing list > >> NumPy-Discussion at python.org > >> https://mail.python.org/mailman/listinfo/numpy-discussion > >> > > > > _______________________________________________ > > NumPy-Discussion mailing list > > NumPy-Discussion at python.org > > https://mail.python.org/mailman/listinfo/numpy-discussion > > > > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion at python.org > https://mail.python.org/mailman/listinfo/numpy-discussion > -------------- next part -------------- An HTML attachment was scrubbed... URL: From daniele at grinta.net Fri Nov 1 12:57:51 2019 From: daniele at grinta.net (Daniele Nicolodi) Date: Fri, 1 Nov 2019 10:57:51 -0600 Subject: [Numpy-discussion] argmax() indexes to value In-Reply-To: References: <3c8ed265-06bb-c527-f103-af827ee6597d@grinta.net> <526001fa-32b9-a948-7101-e742ee1f0d7d@grinta.net> <7ea8b98b-5c72-5475-025b-3b86292fec0b@grinta.net> Message-ID: <998b4840-efa6-22a4-4d08-98e15f8c516f@grinta.net> On 31-10-2019 01:44, Elliot Hallmark wrote: > Depends on how big your array is.? Numpy C code is 150x+ faster than > python overhead. Fancy indexing can be expensive in my experience.? > Without trying I'd guess arr[:, argmax(arr, axis=1)] does what you want, It does not. > but even if it is, try profiling the two and see.? I highly doubt such > would be even 1% of your run time, but it depends on what your doing.? > Part of python with numpy is slightly not caring about big O because > trying to be clever is rarely worth it in my experience. Why do you think I am asking for advice on how to do the complicated thing? If a 2x increase in the run time would have not mattered, I would not have bothered. Don't you think? I appreciate the effort spent guiding inexperienced users toward pragmatic solutions and not over complicate their code. However, it is disappointing to have very precise questions dismissed as "that is complicated, thus you don't really want to do it". Best, Dan > On Thu, Oct 31, 2019 at 12:35 AM Daniele Nicolodi > wrote: > > On 30/10/2019 22:42, Elliot Hallmark wrote: > > I wouldn't be surprised at all if calling max in addition to argmax > > wasn't as fast or faster than indexing the array using argmax. > > Regardless, just use that then profile when you're done with the > > whole?thing and see if there's any gains to be made. Very likely > not here. > > Hi Elliot, > > how do you arrive at this conclusion? np.argmax() and np.max() are O(N) > while indexing is O(1) thus I don't see how you can conclude that > running both np.argmax() and np.max() on the input array is going to > incur in a small penalty compared to running np.argmax() and then > indexing. > > Cheers, > Dan > > > > > > -elliot > > > > On Wed, Oct 30, 2019, 10:32 PM Daniele Nicolodi > > > >> wrote: > > > >? ? ?On 30/10/2019 19:10, Neal Becker wrote: > >? ? ?> max(axis=1)? > > > >? ? ?Hi Neal, > > > >? ? ?I should have been more precise in stating the problem. > Getting the > >? ? ?values in the array for which I'm looking at the maxima is > only one step > >? ? ?in a more complex piece of code for which I need the indexes > along the > >? ? ?second axis of the array. I would like to avoid to have to > iterate the > >? ? ?array more than once. > > > >? ? ?Thank you! > > > >? ? ?Cheers, > >? ? ?Dan > > > > > >? ? ?> On Wed, Oct 30, 2019, 7:33 PM Daniele Nicolodi > > >? ? ?> > >? ? ?> > >>> wrote: > >? ? ?> > >? ? ?>? ? ?Hello, > >? ? ?> > >? ? ?>? ? ?this is a very basic question, but I cannot find a > satisfying > >? ? ?answer. > >? ? ?>? ? ?Assume a is a 2D array and that I get the index of the > maximum > >? ? ?value > >? ? ?>? ? ?along the second dimension: > >? ? ?> > >? ? ?>? ? ?i = a.argmax(axis=1) > >? ? ?> > >? ? ?>? ? ?Is there a better way to get the value of the maximum array > >? ? ?entries > >? ? ?>? ? ?along the second axis other than: > >? ? ?> > >? ? ?>? ? ?v = a[np.arange(len(a)), i] > >? ? ?> > >? ? ?>? ? ??? > >? ? ?> > >? ? ?>? ? ?Thank you. > >? ? ?> > >? ? ?>? ? ?Cheers, > >? ? ?>? ? ?Daniele > >? ? ?>? ? ?_______________________________________________ > >? ? ?>? ? ?NumPy-Discussion mailing list > >? ? ?>? ? ?NumPy-Discussion at python.org > > >? ? ? > > >? ? ? > >? ? ? >> > >? ? ?>? ? ?https://mail.python.org/mailman/listinfo/numpy-discussion > >? ? ?> > >? ? ?> > >? ? ?> _______________________________________________ > >? ? ?> NumPy-Discussion mailing list > >? ? ?> NumPy-Discussion at python.org > > > > >? ? ?> https://mail.python.org/mailman/listinfo/numpy-discussion > >? ? ?> > > > >? ? ?_______________________________________________ > >? ? ?NumPy-Discussion mailing list > >? ? ?NumPy-Discussion at python.org > > > > >? ? ?https://mail.python.org/mailman/listinfo/numpy-discussion > > > > > > _______________________________________________ > > NumPy-Discussion mailing list > > NumPy-Discussion at python.org > > https://mail.python.org/mailman/listinfo/numpy-discussion > > > > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion at python.org > https://mail.python.org/mailman/listinfo/numpy-discussion > > > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion at python.org > https://mail.python.org/mailman/listinfo/numpy-discussion > From daniele at grinta.net Fri Nov 1 13:08:26 2019 From: daniele at grinta.net (Daniele Nicolodi) Date: Fri, 1 Nov 2019 11:08:26 -0600 Subject: [Numpy-discussion] argmax() indexes to value In-Reply-To: <9327350c-a24a-77ba-c8e5-3115567f6cab@gmail.com> References: <3c8ed265-06bb-c527-f103-af827ee6597d@grinta.net> <526001fa-32b9-a948-7101-e742ee1f0d7d@grinta.net> <9327350c-a24a-77ba-c8e5-3115567f6cab@gmail.com> Message-ID: On 01-11-2019 09:51, Allan Haldane wrote: > my thought was to try `take` or `take_along_axis`: > > ind = np.argmin(a, axis=1) > np.take_along_axis(a, ind[:,None], axis=1) > > But those functions tend to simply fall back to fancy indexing, and are > pretty slow. On my system plain fancy indexing is fastest: > >>>> %timeit a[np.arange(N),ind] > 1.58 ?s ? 18.1 ns per loop >>>> %timeit np.take_along_axis(a, ind[:,None], axis=1) > 6.49 ?s ? 57.3 ns per loop >>>> %timeit np.min(a, axis=1) > 9.51 ?s ? 64.1 ns per loop > > Probably `take_along_axis` was designed with uses like yours in mind, > but it is not very optimized. Hi Allan, after scanning the documentation once more I found `take_along_axis` and was hoping that it implements some smart trick that does not involve generating and indexing array, but apparently that is what it does. Given the current numpy primitives, I don't see a way to optimize it further and keep it generic. I think the direct fancy indexing is faster in your case because of overhead in handling the generic case and not because of algorithmic inefficiency (from the run times you report it seems that your test array was fairly small). Thank you. Cheers, Dan From perimosocordiae at gmail.com Fri Nov 1 14:31:46 2019 From: perimosocordiae at gmail.com (CJ Carey) Date: Fri, 1 Nov 2019 14:31:46 -0400 Subject: [Numpy-discussion] argmax() indexes to value In-Reply-To: References: <3c8ed265-06bb-c527-f103-af827ee6597d@grinta.net> <526001fa-32b9-a948-7101-e742ee1f0d7d@grinta.net> <9327350c-a24a-77ba-c8e5-3115567f6cab@gmail.com> Message-ID: You could move some of the cost to index-creation time by converting the per-row indices into flattened indices: In [1]: a = np.random.random((5, 6)) In [2]: i = a.argmax(axis=1) In [3]: a[np.arange(len(a)), i] Out[3]: array([0.95774465, 0.90940106, 0.98025448, 0.97836906, 0.80483784]) In [4]: f = np.ravel_multi_index((np.arange(len(a)), i), a.shape) In [5]: a.flat[f] Out[5]: array([0.95774465, 0.90940106, 0.98025448, 0.97836906, 0.80483784]) I haven't benchmarked, but I suspect this will be faster if you're using the same index multiple times. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pierre.augier at univ-grenoble-alpes.fr Mon Nov 4 16:54:00 2019 From: pierre.augier at univ-grenoble-alpes.fr (PIERRE AUGIER) Date: Mon, 4 Nov 2019 22:54:00 +0100 (CET) Subject: [Numpy-discussion] Transonic Vision: unifying Python-Numpy accelerators In-Reply-To: References: Message-ID: <367899200.8647963.1572904440461.JavaMail.zimbra@univ-grenoble-alpes.fr> Dear Python-Numpy community, Transonic is a pure Python package to easily accelerate modern Python-Numpy code with different accelerators (currently Cython, Pythran and Numba). I'm trying to get some funding for this project. The related work would benefit in particular to Cython, Numba, Pythran and Xtensor. To obtain this funding, we really need some feedback from some people knowing the subject of performance with Python-Numpy code. That's one of the reason why we wrote this long and serious text on Transonic Vision: http://tiny.cc/transonic-vision. We describe some issues (perf for numerical kernels, incompatible accelerators, community split between experts and simple users, ...) and possible improvements. Help would be very much appreciated. Now a coding riddle: import numpy as np from transonic import jit @jit(native=True, xsimd=True) def fxfy(ft, fn, theta): sin_theta = np.sin(theta) cos_theta = np.cos(theta) fx = cos_theta * ft - sin_theta * fn fy = sin_theta * ft + cos_theta * fn return fx, fy @jit(native=True, xsimd=True) def fxfy_loops(ft, fn, theta): n0 = theta.size fx = np.empty_like(ft) fy = np.empty_like(fn) for index in range(n0): sin_theta = np.sin(theta[index]) cos_theta = np.cos(theta[index]) fx[index] = cos_theta * ft[index] - sin_theta * fn[index] fy[index] = sin_theta * ft[index] + cos_theta * fn[index] return fx, fy How can be compared the performances of these functions with pure Numpy, Numba and Pythran ? You can find out the answer in our note http://tiny.cc/transonic-vision :-) Pierre > Message: 1 > Date: Thu, 31 Oct 2019 21:16:06 +0100 (CET) > From: PIERRE AUGIER > To: numpy-discussion at python.org > Subject: [Numpy-discussion] Transonic Vision: unifying Python-Numpy > accelerators > Message-ID: > <1080118635.5930814.1572552966711.JavaMail.zimbra at univ-grenoble-alpes.fr> > > Content-Type: text/plain; charset=utf-8 > > Dear Python-Numpy community, > > Few years ago I started to use a lot Python and Numpy for science. I'd like to > thanks all people who contribute to this fantastic community. > > I used a lot Cython, Pythran and Numba and for the FluidDyn project, we created > Transonic, a pure Python package to easily accelerate modern Python-Numpy code > with different accelerators. We wrote a long and serious text to explain why we > think Transonic could have a positive impact on the scientific Python > ecosystem. > > Here it is: http://tiny.cc/transonic-vision > > Feedback and discussions would be greatly appreciated! > > Pierre > > -- > Pierre Augier - CR CNRS http://www.legi.grenoble-inp.fr > LEGI (UMR 5519) Laboratoire des Ecoulements Geophysiques et Industriels > BP53, 38041 Grenoble Cedex, France tel:+33.4.56.52.86.16 From mikofski at berkeley.edu Wed Nov 6 14:18:31 2019 From: mikofski at berkeley.edu (Dr. Mark Alexander Mikofski PhD) Date: Wed, 6 Nov 2019 11:18:31 -0800 Subject: [Numpy-discussion] [ANN] pvfactors: a view-factor network model for bifacial PV by SunPower Message-ID: SunPower has just released the latest version of pvfactors (v1.3.0), a Python package for modeling the incident irradiance on bifacial photovoltaic (PV) using the network radiosity model. Bifacial PV are solar panels that can generate energy from both the front and back surfaces. PyPI: https://pypi.org/project/pvfactors/ GitHub: https://github.com/SunPower/pvfactors/releases Thanks SunPower! -- Mark Mikofski, PhD (2005) *Fiat Lux* -------------- next part -------------- An HTML attachment was scrubbed... URL: From ralf.gommers at gmail.com Wed Nov 6 23:49:08 2019 From: ralf.gommers at gmail.com (Ralf Gommers) Date: Wed, 6 Nov 2019 23:49:08 -0500 Subject: [Numpy-discussion] Transonic Vision: unifying Python-Numpy accelerators In-Reply-To: <367899200.8647963.1572904440461.JavaMail.zimbra@univ-grenoble-alpes.fr> References: <367899200.8647963.1572904440461.JavaMail.zimbra@univ-grenoble-alpes.fr> Message-ID: On Mon, Nov 4, 2019 at 4:54 PM PIERRE AUGIER < pierre.augier at univ-grenoble-alpes.fr> wrote: > Dear Python-Numpy community, > > Transonic is a pure Python package to easily accelerate modern > Python-Numpy code with different accelerators (currently Cython, Pythran > and Numba). > > I'm trying to get some funding for this project. The related work would > benefit in particular to Cython, Numba, Pythran and Xtensor. > > To obtain this funding, we really need some feedback from some people > knowing the subject of performance with Python-Numpy code. > > That's one of the reason why we wrote this long and serious text on > Transonic Vision: http://tiny.cc/transonic-vision. We describe some > issues (perf for numerical kernels, incompatible accelerators, community > split between experts and simple users, ...) and possible improvements. > Thanks Pierre, that's a very interesting vision paper. In case you haven't seen it, there was a discussion on the pandas-dev mailing list a couple of weeks ago about adopting Numba as a dependency (and issues with that). Your comment on my assessment from 1.5 years ago being a little unfair to Pythran may be true - not sure it was at the time, but Pythran seems to mature nicely. The ability to switch between just-in-time and ahead-of-time compilation is nice. One thing I noticed is that this actual switching is not completely fluent: the jit and boost decorators have different signatures, and there's no way to globally switch behavior (say with an env var, as for backend selection). > Help would be very much appreciated. > I'd be interested to help think about adoption and/or funding. Cheers, Ralf > > Now a coding riddle: > > import numpy as np > from transonic import jit > > @jit(native=True, xsimd=True) > def fxfy(ft, fn, theta): > sin_theta = np.sin(theta) > cos_theta = np.cos(theta) > fx = cos_theta * ft - sin_theta * fn > fy = sin_theta * ft + cos_theta * fn > return fx, fy > > @jit(native=True, xsimd=True) > def fxfy_loops(ft, fn, theta): > n0 = theta.size > fx = np.empty_like(ft) > fy = np.empty_like(fn) > for index in range(n0): > sin_theta = np.sin(theta[index]) > cos_theta = np.cos(theta[index]) > fx[index] = cos_theta * ft[index] - sin_theta * fn[index] > fy[index] = sin_theta * ft[index] + cos_theta * fn[index] > return fx, fy > > How can be compared the performances of these functions with pure Numpy, > Numba and Pythran ? > > You can find out the answer in our note http://tiny.cc/transonic-vision > :-) > > Pierre > > > Message: 1 > > Date: Thu, 31 Oct 2019 21:16:06 +0100 (CET) > > From: PIERRE AUGIER > > To: numpy-discussion at python.org > > Subject: [Numpy-discussion] Transonic Vision: unifying Python-Numpy > > accelerators > > Message-ID: > > < > 1080118635.5930814.1572552966711.JavaMail.zimbra at univ-grenoble-alpes.fr> > > > > Content-Type: text/plain; charset=utf-8 > > > > Dear Python-Numpy community, > > > > Few years ago I started to use a lot Python and Numpy for science. I'd > like to > > thanks all people who contribute to this fantastic community. > > > > I used a lot Cython, Pythran and Numba and for the FluidDyn project, we > created > > Transonic, a pure Python package to easily accelerate modern > Python-Numpy code > > with different accelerators. We wrote a long and serious text to explain > why we > > think Transonic could have a positive impact on the scientific Python > > ecosystem. > > > > Here it is: http://tiny.cc/transonic-vision > > > > Feedback and discussions would be greatly appreciated! > > > > Pierre > > > > -- > > Pierre Augier - CR CNRS http://www.legi.grenoble-inp.fr > > LEGI (UMR 5519) Laboratoire des Ecoulements Geophysiques et Industriels > > BP53, 38041 Grenoble Cedex, France tel:+33.4.56.52.86.16 > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion at python.org > https://mail.python.org/mailman/listinfo/numpy-discussion > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tyler.je.reddy at gmail.com Sat Nov 9 17:10:15 2019 From: tyler.je.reddy at gmail.com (Tyler Reddy) Date: Sat, 9 Nov 2019 15:10:15 -0700 Subject: [Numpy-discussion] ANN: SciPy 1.3.2 Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi all, On behalf of the SciPy development team I'm pleased to announce the release of SciPy 1.3.2, a maintenance and bug fix release that adds support for Python 3.8. Sources and binary wheels can be found at: https://pypi.org/project/scipy/ and at: https://github.com/scipy/scipy/releases/tag/v1.3.2 One of a few ways to install this release with pip: pip install scipy==1.3.2 ========================== SciPy 1.3.2 Release Notes ========================== SciPy 1.3.2 is a bug-fix and maintenance release that adds support for Python 3.8. Authors ======= * CJ Carey * Dany Vohl * Martin Gauch + * Ralf Gommers * Matt Haberland * Eric Larson * Nikolay Mayorov * Sam McCormack + * Andrew Nelson * Tyler Reddy * Pauli Virtanen * Huize Wang + * Warren Weckesser * Joseph Weston + A total of 14 people contributed to this release. People with a "+" by their names contributed a patch for the first time. This list of names is automatically generated, and may not be fully complete. Issues closed for 1.3.2 ------------------------------- * `#4915 `__: Bug in unique_roots in scipy.signal.signaltools.py for roots... * `#5161 `__: Optimizers reporting success when the minimum is NaN * `#5546 `__: ValueError raised if scipy.sparse.linalg.expm recieves array... * `#10124 `__: linprog(method='revised simplex') doctest bug * `#10609 `__: Graph shortest path with Floyd-Warshall removes explicit zeros. * `#10658 `__: BUG: stats: Formula for the variance of the noncentral F distribution... * `#10695 `__: BUG: Assignation issues in csr_matrix with fancy indexing * `#10846 `__: root_scalar fails when passed a function wrapped with functools.lru_cache * `#10902 `__: CI: travis osx build failure * `#10967 `__: macOS build failure in SuperLU on maintenance/1.3.x * `#10976 `__: Typo in sp.stats.wilcoxon docstring Pull requests for 1.3.2 ------------------------------ * `#10498 `__: TST: optimize: fixed \`linprog\` \`"disp": True\` bug * `#10536 `__: CI: add 3.8-dev to travis * `#10671 `__: BUG: stats: Fix the formula for the variance of the noncentral... * `#10693 `__: BUG: ScalarFunction stores original array * `#10700 `__: BUG: sparse: Loosen checks on sparse fancy assignment * `#10709 `__: BUG: Fix floyd_warshall to support zero-weight edges * `#10756 `__: BUG: optimize: ensure solvers exit with success=False for nan... * `#10833 `__: BUG: Fix subspace_angles for complex values * `#10882 `__: BUG: sparse/arpack: fix incorrect code for complex hermitian... * `#10891 `__: BUG: make C-implemented root finders work with functools.lru_cache * `#10906 `__: BUG: sparse/linalg: fix expm for np.matrix inputs * `#10917 `__: CI: fix travis osx CI * `#10930 `__: MAINT: Updates for 3.8 * `#10938 `__: MAINT: Add Python 3.8 to pyproject.toml * `#10943 `__: BLD: update Cython version to 0.29.13 * `#10961 `__: BUG: Fix signal.unique_roots * `#10971 `__: MAINT: use 3.8 stable in CI * `#10977 `__: DOC: Fix typo in sp.stats.wilcoxon docsting * `#11025 `__: Update _peak_finding.py Checksums ========= MD5 ~~~ 5acb33b69d73d369b05f10aaf24220c4 scipy-1.3.2-cp35-cp35m-macosx_10_6_intel.whl 2afea38680dc72f356965178c128747d scipy-1.3.2-cp35-cp35m-manylinux1_i686.whl 97d2aa748499111d348c283b4e435755 scipy-1.3.2-cp35-cp35m-manylinux1_x86_64.whl 22cbe9c7a2bef004cda3b18355b5d277 scipy-1.3.2-cp35-cp35m-win32.whl e6e3d77c7e7d92344263e55b7f7f14ba scipy-1.3.2-cp35-cp35m-win_amd64.whl 6abb6cdc43950ad31456559dc442571b scipy-1.3.2-cp36-cp36m-macosx_10_6_intel.whl 6ffd1eb60e209d1e329c65db9064ba01 scipy-1.3.2-cp36-cp36m-manylinux1_i686.whl 1c549d17701e2a42836857dfed876854 scipy-1.3.2-cp36-cp36m-manylinux1_x86_64.whl 89895563ebad22c42678002402d7f000 scipy-1.3.2-cp36-cp36m-win32.whl f1f19a0307fa1ce5e5e3fae288e6d317 scipy-1.3.2-cp36-cp36m-win_amd64.whl b12328c09d018bf0958096bd29e528a8 scipy-1.3.2-cp37-cp37m-macosx_10_6_intel.whl 6b268afa77f99fbdf02d43255365b6e7 scipy-1.3.2-cp37-cp37m-manylinux1_i686.whl 5a258b29cae36f2f35167b08c79a5b3c scipy-1.3.2-cp37-cp37m-manylinux1_x86_64.whl 2639b1c67a33c23ee5b0d4d3057106e2 scipy-1.3.2-cp37-cp37m-win32.whl 5201e48b5e3fca2e056fbe4e4b79f2c3 scipy-1.3.2-cp37-cp37m-win_amd64.whl 43087f7b2e363f8f953d037d608dd53f scipy-1.3.2-cp38-cp38-macosx_10_9_x86_64.whl 0a5444f72721ceaf1eb875ac9ac2b31f scipy-1.3.2-cp38-cp38-manylinux1_i686.whl 44372a0125d0e2d8a3041e89fe01a944 scipy-1.3.2-cp38-cp38-manylinux1_x86_64.whl 345c6459a52f81d2e3f3b490b932be4a scipy-1.3.2-cp38-cp38-win32.whl 8ff866aadbc56067c9d09551ce072d7f scipy-1.3.2-cp38-cp38-win_amd64.whl 019eabd9ef410bb7bf2e7eda09cefc4d scipy-1.3.2.tar.gz 742eb61ce825d8cb6a419e5d1dfd822c scipy-1.3.2.tar.xz b1ece516b97390ece5153dfc3dc4bc75 scipy-1.3.2.zip SHA256 ~~~~~~ 7a0477929e6f9d5928fe81fe75d00b7da9545a49109e66028d85848b18aeef99 scipy-1.3.2-cp35-cp35m-macosx_10_6_intel.whl 0f81e71149539ac09053a3f9165659367b060eceef3bbde11e6600e1c341f1f2 scipy-1.3.2-cp35-cp35m-manylinux1_i686.whl ecfd45ca0ce1d6c13bef17794b4052cc9a9574f4be8d44c9bcfd7e34294bd2d7 scipy-1.3.2-cp35-cp35m-manylinux1_x86_64.whl ee5888c62cd83c9bf9927ffcee08434e7d5c81a8f31e5b85af5470e511022c08 scipy-1.3.2-cp35-cp35m-win32.whl 07673b5b96dbe28c88f3a53ca9af67f802aa853de7402e31f473b4dd6501c799 scipy-1.3.2-cp35-cp35m-win_amd64.whl 2e4b5fdb635dd425bf46fbd6381612692d3c795f1eb6fe62410305a440691d46 scipy-1.3.2-cp36-cp36m-macosx_10_6_intel.whl 4ad7a3ae9831d2085d6f50b81bfcd76368293eafdf31f4ac9f109c6061309c24 scipy-1.3.2-cp36-cp36m-manylinux1_i686.whl df4dbd3d40db3f667e0145dba5f50954bf28b2dd5b8b400c79d5e3fe8cb67ce2 scipy-1.3.2-cp36-cp36m-manylinux1_x86_64.whl 470d8fc76ccab6cfff60a9de4ce316a23ee7f63615d948c7446dc7c1bb45042d scipy-1.3.2-cp36-cp36m-win32.whl f018892621b787b9abf76d51d1f0c21611c71752ebb1891ccf7992e0bf973708 scipy-1.3.2-cp36-cp36m-win_amd64.whl 34c48d922760782732d6f8f4532e320984d1280763c6787c6582021d34c8ad79 scipy-1.3.2-cp37-cp37m-macosx_10_6_intel.whl 33ac3213ee617bbc0eac84d02b130d69093ed7738afb281dfdeb12a9dbdf1530 scipy-1.3.2-cp37-cp37m-manylinux1_i686.whl 9c3221039da50f3b60da70b65d6b020ea26cefbb097116cfec696010432d1f6c scipy-1.3.2-cp37-cp37m-manylinux1_x86_64.whl 2dc26e5b3eb86b7adad506b6b04020f6a87e1102c9acd039e937d28bdcee7fa6 scipy-1.3.2-cp37-cp37m-win32.whl 0359576d8cc058bd615999cf985e2423dc6cc824666d60e8b8d4810569a04655 scipy-1.3.2-cp37-cp37m-win_amd64.whl e837c8068bd1929a533e9d51562faf6584ddb5303d9e218d8c11aa4719dcd617 scipy-1.3.2-cp38-cp38-macosx_10_9_x86_64.whl 61812a7db0d9bc3f13653e52b8ddb1935cf444ec55f39160fc2778aeb2719057 scipy-1.3.2-cp38-cp38-manylinux1_i686.whl 3f556f63e070e9596624e42e99d23b259d8f0fc63ec093bef97a9f1c579565b2 scipy-1.3.2-cp38-cp38-manylinux1_x86_64.whl 125aa82f7b3d4bd7f77fed6c3c6e31be47e33f129d829799569389ae59f913e7 scipy-1.3.2-cp38-cp38-win32.whl f2d5db81d90d14a32d4aff920f52fca5639bcaaaf87b4f61bce83a1d238f49fc scipy-1.3.2-cp38-cp38-win_amd64.whl a03939b431994289f39373c57bbe452974a7da724ae7f9620a1beee575434da4 scipy-1.3.2.tar.gz 1d2f09bcb6c4b66a65d9f49d21fa065f5396c940edac8285b87947b8d21b55f8 scipy-1.3.2.tar.xz aa18ee47e2e606ececc5b0df672705e0ee413d249bf9c129be2fd280dcd21a32 scipy-1.3.2.zip -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJdxx+LAAoJELD/41ZX0J71CooQAJwQGqTxyG0FCXNk5EffrRC0 CL+4nnD8eonzjZE+Oc7Lj4uiTITgJ+E7bd0WHhmaLAHZe2mGhZJlPS1c6Nb3nURB knJwKyIIgf2IAbnO+bBg7txosuU1RQidwq3xmofGJTXadUfVc1S1iEqnxpFN0GmN dlZcvuPMnWwMawM3ort+JVB01t338PlMso3bOdP4yUJXdaxUmj4TESbJV4gLUaHg e8s2i4ASKBz7GaJ4bkiKDgxJdP807gu6KEKqOQDLRYoN0kQ1yp+KaAcjEnTMSsPa 8mVa9R/CZF+J/YX1MxyITs7hr/czMPGRVHQbTDh3Lc0BqRJdidgswgQQ8IChhIEm lFW6PefS18Un9dHD9jTQ+GI4WCKBpsN08qeCpFn+cwBnL7bdloS3CcPV1JDChjdK SI56wCw9vwc+w7R3Rg4n+KO2UUoxar0jNJXU0wT6ZdbX0A367i/7XJ57ToWXI5ax DUchJNj9SIOKEzoPwO/XR16KeurLeJcoJbon4kj4JjfrNI7Z03sw0hn4ALLQpOP5 /l49Nwa5VJGxWvSJCNaLV9qPjhzbFDyG+adLxFiMDvbvFaNrnm7Zkp4vPCcjNe+m r+0k1bfUrzE1eyZCuHGU+e9Vz7nSPODqhuenxz3PWBnqVJSSaBtgDGEiNddjstbW YvhHlfbIYBst7HvxR7xQ =roJQ -----END PGP SIGNATURE----- -------------- next part -------------- An HTML attachment was scrubbed... URL: From charlesr.harris at gmail.com Sat Nov 9 19:52:17 2019 From: charlesr.harris at gmail.com (Charles R Harris) Date: Sat, 9 Nov 2019 17:52:17 -0700 Subject: [Numpy-discussion] ANN: SciPy 1.3.2 In-Reply-To: References: Message-ID: On Sat, Nov 9, 2019 at 3:11 PM Tyler Reddy wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Hi all, > > On behalf of the SciPy development team I'm pleased to announce > the release of SciPy 1.3.2, a maintenance and bug fix release that > adds support for Python 3.8. > > Good job... Chuck > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From charlesr.harris at gmail.com Sun Nov 10 21:32:41 2019 From: charlesr.harris at gmail.com (Charles R Harris) Date: Sun, 10 Nov 2019 19:32:41 -0700 Subject: [Numpy-discussion] NumPy 1.17.4 release. Message-ID: Hi All, On behalf of the NumPy team I am pleased to announce that NumPy 1.17.4 has been released. This is a bugfix release. The Python versions supported in this release are 3.5-3.8. Downstream developers should use Cython >= 0.29.13 for Python 3.8 support and OpenBLAS >= 3.7 to avoid wrong results on the Skylake architecture. The NumPy Wheels for this release can be downloaded from PyPI , source archives and release notes are available from Github . *Highlights* - Fixed `random.random_integers` biased generation of 8 and 16 bit integers. - Fixed `np.einsum` regression on Power9 and z/Linux. - Fixed histogram problem with signed integer arrays *Contributors* A total of 5 people contributed to this release. People with a "+" by their names contributed a patch for the first time. - Charles Harris - Chris Burr + - Matti Picus - Qiming Sun + - Warren Weckesser *Pull requests merged* A total of 8 pull requests were merged for this release. - gh-14758: BLD: Declare support for python 3.8 - gh-14781: BUG: Random: biased samples from integers() with 8 or 16 bit... - gh-14851: BUG: Fix `_ctypes` class circular reference. (gh-13808) - gh-14852: BLD: Add 'apt update' to shippable - gh-14855: BUG: Fix `np.einsum` errors on Power9 Linux and z/Linux - gh-14857: BUG: Fix histogram problem with signed integer arrays. - gh-14858: BLD: Prevent -flto from optimising long double representation... - gh-14866: MAINT: move buffer.h -> npy_buffer.h to avoid conflicts Cheers, Charles Harris -------------- next part -------------- An HTML attachment was scrubbed... URL: From matti.picus at gmail.com Mon Nov 11 19:40:03 2019 From: matti.picus at gmail.com (Matti Picus) Date: Mon, 11 Nov 2019 17:40:03 -0700 Subject: [Numpy-discussion] Disallow Accelerate as a LAPACK backend for NumPy Message-ID: <0c374fc6-50ed-625f-37c3-f96460e3046a@gmail.com> Apple has dropped support for Accelerate. It has bugs that have not been fixed, and is closed source so we cannot fix them ourselves. We have been getting a handful of reports from users who end up building NumPy on macOS, and inadvertently link to Accelerate, then end up with wrong linalg results. In PR 14880 https://github.com/numpy/numpy/pull/14880 I propose to disallow finding it when building NumPy. At this time it will remain in distutils as one of the backends to support users, but how do people feel about a future PR to totally remove it? Matti From insertinterestingnamehere at gmail.com Mon Nov 11 21:27:26 2019 From: insertinterestingnamehere at gmail.com (Ian Henriksen) Date: Mon, 11 Nov 2019 20:27:26 -0600 Subject: [Numpy-discussion] Disallow Accelerate as a LAPACK backend for NumPy In-Reply-To: <0c374fc6-50ed-625f-37c3-f96460e3046a@gmail.com> References: <0c374fc6-50ed-625f-37c3-f96460e3046a@gmail.com> Message-ID: Extra data point here: SciPy already dropped support for Accelerate as of version 1.2.0. Best, Ian Henriksen On Mon, Nov 11, 2019 at 6:40 PM Matti Picus wrote: > Apple has dropped support for Accelerate. It has bugs that have not been > fixed, and is closed source so we cannot fix them ourselves. We have > been getting a handful of reports from users who end up building NumPy > on macOS, and inadvertently link to Accelerate, then end up with wrong > linalg results. In PR 14880 https://github.com/numpy/numpy/pull/14880 I > propose to disallow finding it when building NumPy. At this time it will > remain in distutils as one of the backends to support users, but how do > people feel about a future PR to totally remove it? > > > Matti > > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion at python.org > https://mail.python.org/mailman/listinfo/numpy-discussion > -------------- next part -------------- An HTML attachment was scrubbed... URL: From derek at astro.physik.uni-goettingen.de Tue Nov 12 09:30:24 2019 From: derek at astro.physik.uni-goettingen.de (Derek Homeier) Date: Tue, 12 Nov 2019 15:30:24 +0100 Subject: [Numpy-discussion] Disallow Accelerate as a LAPACK backend for NumPy In-Reply-To: References: <0c374fc6-50ed-625f-37c3-f96460e3046a@gmail.com> Message-ID: <62767AE8-54E4-4762-B128-F4A19922B342@astro.physik.uni-goettingen.de> On 12 Nov 2019, at 3:27 am, Ian Henriksen wrote: > > Extra data point here: SciPy already dropped support for Accelerate as of version 1.2.0. > > Best, > > Ian Henriksen > > > On Mon, Nov 11, 2019 at 6:40 PM Matti Picus wrote: > Apple has dropped support for Accelerate. It has bugs that have not been > fixed, and is closed source so we cannot fix them ourselves. We have > been getting a handful of reports from users who end up building NumPy > on macOS, and inadvertently link to Accelerate, then end up with wrong > linalg results. In PR 14880 https://github.com/numpy/numpy/pull/14880 I > propose to disallow finding it when building NumPy. At this time it will > remain in distutils as one of the backends to support users, but how do > people feel about a future PR to totally remove it? +1 from this side - when switching the packaged version of Scipy to OpenBLAS (already taking Numpy along the way) I noticed barely any performance penalties (if - with some benchmarks - it wasn?t actually faster than Accelerate). Cheers, Derek From reed at cs.unc.edu Tue Nov 12 12:35:39 2019 From: reed at cs.unc.edu (Andrew Reed) Date: Tue, 12 Nov 2019 12:35:39 -0500 Subject: [Numpy-discussion] Code Review for the Two-Sided Geometric Distribution - PR 14890 Message-ID: All, I created a PR for the "two-sided geometric distribution": https://github.com/numpy/numpy/pull/14890 This is my first attempt at contributing to any sort of open source project, and I can already see that some of the post-commit checks have failed. I will try to dig into those. Also, I was unable to get Sphinx to build a reference to my added function, so I have not been able to verify if the docstring renders properly. Additional Notes: (1) The first paper that I reference presented this distribution as the "discrete Laplace distribution." This is also how the R programming language refers to this distribution. SciPy, however, appears to use a different distribution for what it calls the "discrete Laplacian distribution." Personally, I feel that referring to the version in my PR as the "two-sided geometric distribution" better conveys how it works. (2) I describe the parameter 'alpha' as the distribution's "rate of decay." I can see, though, that this may be an inaccurate way to describe 'alpha' since it doesn't work exactly like a "rate of decay" in the Physics sense. Perhaps I should have referred to it as the "distribution's constant ratio." Either way, I think the documentation should be clear enough that a user would not confuse 'alpha' with 'p' from the geometric function (caveat: once the distribution moves away from zero, alpha works like 1 - p). Respectfully, Andrew Reed -------------- next part -------------- An HTML attachment was scrubbed... URL: From pierre.augier at univ-grenoble-alpes.fr Tue Nov 12 16:00:18 2019 From: pierre.augier at univ-grenoble-alpes.fr (PIERRE AUGIER) Date: Tue, 12 Nov 2019 22:00:18 +0100 (CET) Subject: [Numpy-discussion] Transonic Vision: unifying Python-Numpy accelerators In-Reply-To: References: Message-ID: <134533761.17765043.1573592418664.JavaMail.zimbra@univ-grenoble-alpes.fr> > Date: Wed, 6 Nov 2019 23:49:08 -0500 > From: Ralf Gommers > To: Discussion of Numerical Python > Subject: Re: [Numpy-discussion] Transonic Vision: unifying > Python-Numpy accelerators > Message-ID: > > Content-Type: text/plain; charset="utf-8" > > On Mon, Nov 4, 2019 at 4:54 PM PIERRE AUGIER < > pierre.augier at univ-grenoble-alpes.fr> wrote: > >> Dear Python-Numpy community, >> >> Transonic is a pure Python package to easily accelerate modern >> Python-Numpy code with different accelerators (currently Cython, Pythran >> and Numba). >> >> I'm trying to get some funding for this project. The related work would >> benefit in particular to Cython, Numba, Pythran and Xtensor. >> >> To obtain this funding, we really need some feedback from some people >> knowing the subject of performance with Python-Numpy code. >> >> That's one of the reason why we wrote this long and serious text on >> Transonic Vision: http://tiny.cc/transonic-vision. We describe some >> issues (perf for numerical kernels, incompatible accelerators, community >> split between experts and simple users, ...) and possible improvements. >> > > Thanks Pierre, that's a very interesting vision paper. Thanks Ralf for this kind and interesting reply! > > In case you haven't seen it, there was a discussion on the pandas-dev > mailing list a couple of weeks ago about adopting Numba as a dependency > (and issues with that). > > Your comment on my assessment from 1.5 years ago being a little unfair to > Pythran may be true - not sure it was at the time, but Pythran seems to > mature nicely. > > The ability to switch between just-in-time and ahead-of-time compilation is > nice. One thing I noticed is that this actual switching is not completely > fluent: the jit and boost decorators have different signatures, and there's > no way to globally switch behavior (say with an env var, as for backend > selection). Yes, it seems evident now but I forgot to update the jit decorators when I was working on the boost decorator. My first "targets" for Transonic are packages for which the ahead-of-time mode seems more adapted. This incompatibility between the 2 main decorators used in Transonic will soon be fixed! Regarding the way to globally switch behavior, I'll open a dedicated issue. >> Help would be very much appreciated. >> > > I'd be interested to help think about adoption and/or funding. > > Cheers, > Ralf > As you've seen with the jit/boost incompatibility, I guess API design would be better if people knowing the subject could be included in some discussions. For example, I had to design the Python API for type declaration of arrays (see https://transonic.readthedocs.io/en/latest/generated/transonic.typing.html) since I didn't find anything adapted. My implementation is not great neither since types in transonic.typing and in `typing` are right now not compatible ! (However, it won't be difficult to fix that) Another API design that needs to be thought is about user-defined types in Transonic. This is for future because Pythran does not currently support that, but I think we will have to be able to support kind of dataclass, something like the equivalent of C struct (corresponding to Cython `cdef class` and Numba `jitclass`). A more theoretical subject that would be interesting to investigate is about the subset of Python-Numpy that can and should be implemented by accelerators. For example, I think a function having different branches with different types for the returned objects depending of runtime values cannot be rewritten as efficient modern C++. If you know people potentially interested to discuss about these subjects, please tell me. Cheers, Pierre From ralf.gommers at gmail.com Tue Nov 12 17:42:02 2019 From: ralf.gommers at gmail.com (Ralf Gommers) Date: Tue, 12 Nov 2019 14:42:02 -0800 Subject: [Numpy-discussion] Transonic Vision: unifying Python-Numpy accelerators In-Reply-To: <134533761.17765043.1573592418664.JavaMail.zimbra@univ-grenoble-alpes.fr> References: <134533761.17765043.1573592418664.JavaMail.zimbra@univ-grenoble-alpes.fr> Message-ID: On Tue, Nov 12, 2019 at 1:09 PM PIERRE AUGIER < pierre.augier at univ-grenoble-alpes.fr> wrote: > > > Date: Wed, 6 Nov 2019 23:49:08 -0500 > > From: Ralf Gommers > > To: Discussion of Numerical Python > > Subject: Re: [Numpy-discussion] Transonic Vision: unifying > > Python-Numpy accelerators > > Message-ID: > > Mw4bCOXb0H1dvU9AjTMw at mail.gmail.com> > > Content-Type: text/plain; charset="utf-8" > > > > On Mon, Nov 4, 2019 at 4:54 PM PIERRE AUGIER < > > pierre.augier at univ-grenoble-alpes.fr> wrote: > > > >> Dear Python-Numpy community, > >> > >> Transonic is a pure Python package to easily accelerate modern > >> Python-Numpy code with different accelerators (currently Cython, Pythran > >> and Numba). > >> > >> I'm trying to get some funding for this project. The related work would > >> benefit in particular to Cython, Numba, Pythran and Xtensor. > >> > >> To obtain this funding, we really need some feedback from some people > >> knowing the subject of performance with Python-Numpy code. > >> > >> That's one of the reason why we wrote this long and serious text on > >> Transonic Vision: http://tiny.cc/transonic-vision. We describe some > >> issues (perf for numerical kernels, incompatible accelerators, community > >> split between experts and simple users, ...) and possible improvements. > >> > > > > Thanks Pierre, that's a very interesting vision paper. > > Thanks Ralf for this kind and interesting reply! > > > > > In case you haven't seen it, there was a discussion on the pandas-dev > > mailing list a couple of weeks ago about adopting Numba as a dependency > > (and issues with that). > > > > Your comment on my assessment from 1.5 years ago being a little unfair to > > Pythran may be true - not sure it was at the time, but Pythran seems to > > mature nicely. > > > > The ability to switch between just-in-time and ahead-of-time compilation > is > > nice. One thing I noticed is that this actual switching is not completely > > fluent: the jit and boost decorators have different signatures, and > there's > > no way to globally switch behavior (say with an env var, as for backend > > selection). > > Yes, it seems evident now but I forgot to update the jit decorators when I > was working on the boost decorator. > My first "targets" for Transonic are packages for which the ahead-of-time > mode seems more adapted. > > This incompatibility between the 2 main decorators used in Transonic will > soon be fixed! > > Regarding the way to globally switch behavior, I'll open a dedicated issue. > > >> Help would be very much appreciated. > >> > > > > I'd be interested to help think about adoption and/or funding. > > > > Cheers, > > Ralf > > > > As you've seen with the jit/boost incompatibility, I guess API design > would be better if people knowing the subject could be included in some > discussions. > > For example, I had to design the Python API for type declaration of arrays > (see > https://transonic.readthedocs.io/en/latest/generated/transonic.typing.html) > since I didn't find anything adapted. My implementation is not great > neither since types in transonic.typing and in `typing` are right now not > compatible ! (However, it won't be difficult to fix that) > > Another API design that needs to be thought is about user-defined types in > Transonic. This is for future because Pythran does not currently support > that, but I think we will have to be able to support kind of dataclass, > something like the equivalent of C struct (corresponding to Cython `cdef > class` and Numba `jitclass`). > > A more theoretical subject that would be interesting to investigate is > about the subset of Python-Numpy that can and should be implemented by > accelerators. This is indeed interesting, I've been thinking about this a lot and have a very rough first cut at what should be included ( https://github.com/Quansight-Labs/rnumpy). That should be redone next year with a better basis for decision-making of what should and should not be in it. For example, I think a function having different branches with different > types for the returned objects depending of runtime values cannot be > rewritten as efficient modern C++. > Agreed. That's anyway due to sub-optimal design decisions long ago in most cases. Cheers, Ralf > If you know people potentially interested to discuss about these subjects, > please tell me. > > Cheers, > Pierre > > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion at python.org > https://mail.python.org/mailman/listinfo/numpy-discussion > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dencheva at stsci.edu Wed Nov 13 09:50:55 2019 From: dencheva at stsci.edu (Nadia Dencheva) Date: Wed, 13 Nov 2019 14:50:55 +0000 Subject: [Numpy-discussion] [JOB] Software Engineer position for open source/development projects Message-ID: <8ed098ed05064660b655f073f2a99ee4@stsci.edu> Who we are: The Data Analysis Tools Branch (DATB) at the Space Telescope Science Institute (STScI) in Baltimore, MD, has an opening for a software engineer to work on community developed projects like astropy, asdf, etc. DATB develops open source data-analysis tools for astronomy though some of them are general and used by other sciences. Contributions to numpy/scipy are possible. Skillset We are looking for someone with the following skillset * Proficient in Python and C/C++ . * Comfortable developing primarily in/for Linux/Unix environment. * Experience with software library development and library API design * Experience writing developer and user documentation. * Fluent with continuous integration, Git and common developer tools. * Skilled in testing tools * Familiarity with both binary data representation in CPU memory and with data serialization standards such as YAML, JSON and XML How to apply Please apply online at https://recruiting2.ultipro.com/SPA1004AURA/JobBoard/93330e50-7b3a-4ba8-94f2-6f32360aa4e1/OpportunityDetail?opportunityId=158b84d3-58f9-4e62-8c57-30a64a127275 Starting date This position is available for immediate start. -------------- next part -------------- An HTML attachment was scrubbed... URL: From matti.picus at gmail.com Wed Nov 13 13:12:11 2019 From: matti.picus at gmail.com (Matti Picus) Date: Wed, 13 Nov 2019 11:12:11 -0700 Subject: [Numpy-discussion] Numpy community meeting TODAY !!! Message-ID: An HTML attachment was scrubbed... URL: From ralf.gommers at gmail.com Thu Nov 14 18:42:15 2019 From: ralf.gommers at gmail.com (Ralf Gommers) Date: Thu, 14 Nov 2019 15:42:15 -0800 Subject: [Numpy-discussion] a new grant for NumPy and OpenBLAS! Message-ID: Hi all, I'm very pleased to announce that NumPy and OpenBLAS have received a joint grant for $195,000 from the Chan Zuckerberg Initiative. In summary, this grant is for high-level documentation, website development and graphic design, governance activities and community building for NumPy, and for technical work on OpenBLAS (which is one of NumPy's key dependencies). I wrote a blog post on what this grant is about and some background at [1], and published the full proposal at [2]. The program managers wrote a blog post about the whole program [3] which is also well worth reading. I'm looking forward to what we'll be able to do with this grant. The work is planned to start quite soon, Dec 1st, and run for one year. Questions and ideas on any aspect of this grant are very welcome! Cheers, Ralf [1] https://labs.quansight.org/blog/2019/11/numpy-openblas-CZI-grant/ [2] https://figshare.com/articles/Proposal_NumPy_OpenBLAS_for_Chan_Zuckerberg_Initiative_EOSS_2019_round_1/10302167 [3] https://medium.com/@cziscience/the-invisible-foundations-of-biomedicine-4ab7f8d4f5dd -------------- next part -------------- An HTML attachment was scrubbed... URL: From charlesr.harris at gmail.com Thu Nov 14 20:44:42 2019 From: charlesr.harris at gmail.com (Charles R Harris) Date: Thu, 14 Nov 2019 18:44:42 -0700 Subject: [Numpy-discussion] a new grant for NumPy and OpenBLAS! In-Reply-To: References: Message-ID: On Thu, Nov 14, 2019 at 4:42 PM Ralf Gommers wrote: > Hi all, > > I'm very pleased to announce that NumPy and OpenBLAS have received a joint > grant for $195,000 from the Chan Zuckerberg Initiative. > > In summary, this grant is for high-level documentation, website > development and graphic design, governance activities and community > building for NumPy, and for technical work on OpenBLAS (which is one of > NumPy's key dependencies). I wrote a blog post on what this grant is about > and some background at [1], and published the full proposal at [2]. The > program managers wrote a blog post about the whole program [3] which is > also well worth reading. > > I'm looking forward to what we'll be able to do with this grant. The work > is planned to start quite soon, Dec 1st, and run for one year. > > Questions and ideas on any aspect of this grant are very welcome! > > Cheers, > Ralf > > [1] https://labs.quansight.org/blog/2019/11/numpy-openblas-CZI-grant/ > [2] > https://figshare.com/articles/Proposal_NumPy_OpenBLAS_for_Chan_Zuckerberg_Initiative_EOSS_2019_round_1/10302167 > [3] > https://medium.com/@cziscience/the-invisible-foundations-of-biomedicine-4ab7f8d4f5dd > > Nice. The distribution of funded projects across institutions was interesting and I was a bit surprised that Harvard/MIT/Stanford didn't have more representation. I'm glad to see OpenBLAS get some help. We should also begin thinking about quad precision linear algebra at some point, although double precision does the job for most things. Chuck -------------- next part -------------- An HTML attachment was scrubbed... URL: From stefanv at berkeley.edu Fri Nov 15 00:34:17 2019 From: stefanv at berkeley.edu (Stefan van der Walt) Date: Thu, 14 Nov 2019 21:34:17 -0800 Subject: [Numpy-discussion] a new grant for NumPy and OpenBLAS! In-Reply-To: References: Message-ID: Hi Ralf, On Thu, Nov 14, 2019, at 15:42, Ralf Gommers wrote: > I'm very pleased to announce that NumPy and OpenBLAS have received a joint grant for $195,000 from the Chan Zuckerberg Initiative. Congratulations on receiving this grant! I am very happy to see more funded involvement in NumPy, and am pleased that you will get to focus some time on increasing participation and diversifying roles. It is absolutely crucial that we succeed in this if we want to remain a healthy project---so thank you for all your hard work on that front. Best regards, St?fan -------------- next part -------------- An HTML attachment was scrubbed... URL: From andyfaff at gmail.com Fri Nov 15 02:04:55 2019 From: andyfaff at gmail.com (Andrew Nelson) Date: Fri, 15 Nov 2019 15:04:55 +0800 Subject: [Numpy-discussion] a new grant for NumPy and OpenBLAS! In-Reply-To: References: Message-ID: Well done, that's a sizeable grant and has the ability to really move things along. On Fri, 15 Nov 2019, 13:35 Stefan van der Walt, wrote: > Hi Ralf, > > On Thu, Nov 14, 2019, at 15:42, Ralf Gommers wrote: > > I'm very pleased to announce that NumPy and OpenBLAS have received a joint > grant for $195,000 from the Chan Zuckerberg Initiative. > > > Congratulations on receiving this grant! I am very happy to see more > funded involvement in NumPy, and am pleased that you will get to focus some > time on increasing participation and diversifying roles. It is absolutely > crucial that we succeed in this if we want to remain a healthy project---so > thank you for all your hard work on that front. > > Best regards, > St?fan > > > > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion at python.org > https://mail.python.org/mailman/listinfo/numpy-discussion > -------------- next part -------------- An HTML attachment was scrubbed... URL: From matti.picus at gmail.com Fri Nov 15 08:27:26 2019 From: matti.picus at gmail.com (Matti Picus) Date: Fri, 15 Nov 2019 06:27:26 -0700 Subject: [Numpy-discussion] Disallow Accelerate as a LAPACK backend for NumPy In-Reply-To: <81512cf9-2f18-5027-4d17-da67aac8ecaa@gmail.com> References: <0c374fc6-50ed-625f-37c3-f96460e3046a@gmail.com> <81512cf9-2f18-5027-4d17-da67aac8ecaa@gmail.com> Message-ID: <6b94f077-d0fa-83a9-5286-b8f4a46d3fd0@gmail.com> On Tue, Nov 12, 2019 at 12:41 AM Matti Picus wrote: Apple has dropped support for Accelerate. It has bugs that have not been fixed, and is closed source so we cannot fix them ourselves. We have been getting a handful of reports from users who end up building NumPy on macOS, and inadvertently link to Accelerate, then end up with wrong linalg results. In PR 14880https://github.com/numpy/numpy/pull/14880 I propose to disallow finding it when building NumPy. At this time it will remain in distutils as one of the backends to support users, but how do people feel about a future PR to totally remove it? Someone pointed out that Apple has not officially dropped support as far as it can be determined. Sorry for the bad information. However, I still stand by the "has bugs that have not been fixed, and is closed source". An alternative to dropping automatic support for it would be to find a channel for engaging with Apple to report and fix the bugs. Matti From ralf.gommers at gmail.com Fri Nov 15 09:39:14 2019 From: ralf.gommers at gmail.com (Ralf Gommers) Date: Fri, 15 Nov 2019 06:39:14 -0800 Subject: [Numpy-discussion] Disallow Accelerate as a LAPACK backend for NumPy In-Reply-To: <6b94f077-d0fa-83a9-5286-b8f4a46d3fd0@gmail.com> References: <0c374fc6-50ed-625f-37c3-f96460e3046a@gmail.com> <81512cf9-2f18-5027-4d17-da67aac8ecaa@gmail.com> <6b94f077-d0fa-83a9-5286-b8f4a46d3fd0@gmail.com> Message-ID: On Fri, Nov 15, 2019 at 5:27 AM Matti Picus wrote: > On Tue, Nov 12, 2019 at 12:41 AM Matti Picus > wrote: > > Apple has dropped support for Accelerate. It has bugs that have not > been > fixed, and is closed source so we cannot fix them ourselves. We have > been getting a handful of reports from users who end up building NumPy > on macOS, and inadvertently link to Accelerate, then end up with wrong > linalg results. In PR 14880https://github.com/numpy/numpy/pull/14880 > I > propose to disallow finding it when building NumPy. At this time it > will > remain in distutils as one of the backends to support users, but how do > people feel about a future PR to totally remove it? > > Someone pointed out that Apple has not officially dropped support as far > as it can be determined. Sorry for the bad information. However, I still > stand by the "has bugs that have not been fixed, and is closed source". An > alternative to dropping automatic support for it would be to find a channel > for engaging with Apple to report and fix the bugs. > That's been tried, repeatedly. I would suggest not to spend time on that. Apple knows, they have just decided it's not important to them. Spending time on contributing to either OpenBLAS or BLIS/libFLAME seems like a more useful activity. Cheers, Ralf -------------- next part -------------- An HTML attachment was scrubbed... URL: From ilhanpolat at gmail.com Fri Nov 15 09:55:39 2019 From: ilhanpolat at gmail.com (Ilhan Polat) Date: Fri, 15 Nov 2019 15:55:39 +0100 Subject: [Numpy-discussion] Disallow Accelerate as a LAPACK backend for NumPy In-Reply-To: References: <0c374fc6-50ed-625f-37c3-f96460e3046a@gmail.com> <81512cf9-2f18-5027-4d17-da67aac8ecaa@gmail.com> <6b94f077-d0fa-83a9-5286-b8f4a46d3fd0@gmail.com> Message-ID: We have a wiki page with all the details on scipy repo for the rationale of why we wanted to drop it. There is no need to discuss further about the situation of Accelerate. On Fri, Nov 15, 2019, 15:41 Ralf Gommers wrote: > > > On Fri, Nov 15, 2019 at 5:27 AM Matti Picus wrote: > >> On Tue, Nov 12, 2019 at 12:41 AM Matti Picus >> wrote: >> >> Apple has dropped support for Accelerate. It has bugs that have not >> been >> fixed, and is closed source so we cannot fix them ourselves. We have >> been getting a handful of reports from users who end up building NumPy >> on macOS, and inadvertently link to Accelerate, then end up with wrong >> linalg results. In PR 14880https://github.com/numpy/numpy/pull/14880 >> I >> propose to disallow finding it when building NumPy. At this time it >> will >> remain in distutils as one of the backends to support users, but how >> do >> people feel about a future PR to totally remove it? >> >> Someone pointed out that Apple has not officially dropped support as far >> as it can be determined. Sorry for the bad information. However, I still >> stand by the "has bugs that have not been fixed, and is closed source". An >> alternative to dropping automatic support for it would be to find a channel >> for engaging with Apple to report and fix the bugs. >> > > That's been tried, repeatedly. I would suggest not to spend time on that. > Apple knows, they have just decided it's not important to them. > > Spending time on contributing to either OpenBLAS or BLIS/libFLAME seems > like a more useful activity. > > Cheers, > Ralf > > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion at python.org > https://mail.python.org/mailman/listinfo/numpy-discussion > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marcelo.gosling at gmail.com Fri Nov 15 11:59:57 2019 From: marcelo.gosling at gmail.com (Marcelo Gasparian Gosling) Date: Fri, 15 Nov 2019 13:59:57 -0300 Subject: [Numpy-discussion] State of numpy-financial Message-ID: Hi everyone! So, np-financial is being phased out of mainline Numpy, right? I have a patch for the IRR function that I'd like to submit, is it just as easy as making a PR on Github? Cheers, Marcelo -------------- next part -------------- An HTML attachment was scrubbed... URL: From warren.weckesser at gmail.com Fri Nov 15 12:11:49 2019 From: warren.weckesser at gmail.com (Warren Weckesser) Date: Fri, 15 Nov 2019 12:11:49 -0500 Subject: [Numpy-discussion] State of numpy-financial In-Reply-To: References: Message-ID: On 11/15/19, Marcelo Gasparian Gosling wrote: > Hi everyone! > > So, np-financial is being phased out of mainline Numpy, right? I have a > patch for the IRR function that I'd like to submit, is it just as easy as > making a PR on Github? Hi Marcelo, The new home for the NumPy financial functions is https://github.com/numpy/numpy-financial Pull requests are welcome! Warren > > Cheers, > > Marcelo > From evgeny.burovskiy at gmail.com Fri Nov 15 13:35:14 2019 From: evgeny.burovskiy at gmail.com (Evgeni Burovski) Date: Fri, 15 Nov 2019 21:35:14 +0300 Subject: [Numpy-discussion] a new grant for NumPy and OpenBLAS! In-Reply-To: References: Message-ID: Congratulations! ??, 15 ????. 2019 ?., 2:42 Ralf Gommers : > Hi all, > > I'm very pleased to announce that NumPy and OpenBLAS have received a joint > grant for $195,000 from the Chan Zuckerberg Initiative. > > In summary, this grant is for high-level documentation, website > development and graphic design, governance activities and community > building for NumPy, and for technical work on OpenBLAS (which is one of > NumPy's key dependencies). I wrote a blog post on what this grant is about > and some background at [1], and published the full proposal at [2]. The > program managers wrote a blog post about the whole program [3] which is > also well worth reading. > > I'm looking forward to what we'll be able to do with this grant. The work > is planned to start quite soon, Dec 1st, and run for one year. > > Questions and ideas on any aspect of this grant are very welcome! > > Cheers, > Ralf > > [1] https://labs.quansight.org/blog/2019/11/numpy-openblas-CZI-grant/ > [2] > https://figshare.com/articles/Proposal_NumPy_OpenBLAS_for_Chan_Zuckerberg_Initiative_EOSS_2019_round_1/10302167 > [3] > https://medium.com/@cziscience/the-invisible-foundations-of-biomedicine-4ab7f8d4f5dd > > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion at python.org > https://mail.python.org/mailman/listinfo/numpy-discussion > -------------- next part -------------- An HTML attachment was scrubbed... URL: From charlesr.harris at gmail.com Fri Nov 15 13:50:01 2019 From: charlesr.harris at gmail.com (Charles R Harris) Date: Fri, 15 Nov 2019 11:50:01 -0700 Subject: [Numpy-discussion] Cleanup of travisCI tests. Message-ID: Hi All, I think there are some travisCI tests that we can eliminate, see tests for the current proposed set. I think we can eliminate the following INSTALL_PICKLE5=1 # Python3.8 has this NUMPY_EXPERIMENTAL_ARRAY_FUNCTION=0 And possibly one or both of NPY_RELAXED_STRIDES_CHECKING=0 NPY_RELAXED_STRIDES_CHECKING_DEBUG=1 Thoughts? Chuck -------------- next part -------------- An HTML attachment was scrubbed... URL: From ralf.gommers at gmail.com Fri Nov 15 18:17:38 2019 From: ralf.gommers at gmail.com (Ralf Gommers) Date: Fri, 15 Nov 2019 15:17:38 -0800 Subject: [Numpy-discussion] welcome Shaloo Shalini to the NumPy team Message-ID: Hi all, Please welcome Shaloo Shalini to the NumPy team. Shaloo is an experienced technology marketing consultant with a passion for open source. She has been contributing graphical content, information mapping and technical writing since the summer. Most of that still needs to be integrated into the docs, the website, and the user survey that Inessa is designing, but I'm really excited about it. Nice examples are https://github.com/numpy/numpy-surveys/pull/3 and https://github.com/numpy/numpy.org/pull/23. The NumPy Steering Council has decided to use part of our new Tidelift income to contract Shaloo part-time for the next three months to help us create content for the new website and create an information map that will aid us in, e.g., restructuring the documentation and consolidating duplicate content. Both of these activities will be very helpful in our efforts to make NumPy more accessible and serve especially beginning users and contributors better. I'm really looking forward to Shaloo's continued contributions! Cheers, Ralf -------------- next part -------------- An HTML attachment was scrubbed... URL: From shoyer at gmail.com Fri Nov 15 19:25:23 2019 From: shoyer at gmail.com (Stephan Hoyer) Date: Fri, 15 Nov 2019 19:25:23 -0500 Subject: [Numpy-discussion] Cleanup of travisCI tests. In-Reply-To: References: Message-ID: We still support explicitly opting-out of __array_function__, so I think we should still keep that test configuration. On Fri, Nov 15, 2019 at 1:50 PM Charles R Harris wrote: > Hi All, > > I think there are some travisCI tests that we can eliminate, see tests > for > the current proposed set. I think we can eliminate the following > > INSTALL_PICKLE5=1 # Python3.8 has this > NUMPY_EXPERIMENTAL_ARRAY_FUNCTION=0 > > And possibly one or both of > > NPY_RELAXED_STRIDES_CHECKING=0 > NPY_RELAXED_STRIDES_CHECKING_DEBUG=1 > > Thoughts? > > Chuck > > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion at python.org > https://mail.python.org/mailman/listinfo/numpy-discussion > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ralf.gommers at gmail.com Fri Nov 15 20:25:39 2019 From: ralf.gommers at gmail.com (Ralf Gommers) Date: Fri, 15 Nov 2019 17:25:39 -0800 Subject: [Numpy-discussion] a new grant for NumPy and OpenBLAS! In-Reply-To: References: Message-ID: On Thu, Nov 14, 2019 at 9:35 PM Stefan van der Walt wrote: > Hi Ralf, > > On Thu, Nov 14, 2019, at 15:42, Ralf Gommers wrote: > > I'm very pleased to announce that NumPy and OpenBLAS have received a joint > grant for $195,000 from the Chan Zuckerberg Initiative. > > > Congratulations on receiving this grant! I am very happy to see more > funded involvement in NumPy, and am pleased that you will get to focus some > time on increasing participation and diversifying roles. It is absolutely > crucial that we succeed in this if we want to remain a healthy project---so > thank you for all your hard work on that front. > Thanks St?fan and everyone else! Cheers, Ralf -------------- next part -------------- An HTML attachment was scrubbed... URL: From matti.picus at gmail.com Sat Nov 16 16:42:48 2019 From: matti.picus at gmail.com (Matti Picus) Date: Sat, 16 Nov 2019 14:42:48 -0700 Subject: [Numpy-discussion] "Proposal to accept NEP 34: Disallow inferring dtype=object from sequence Message-ID: <8c0ee037-60ab-0139-0ef7-7a7f4bded678@gmail.com> I propose to move the NEP https://numpy.org/neps/nep-0034.html from "draft" to "accepted" status. There were no objections (actually there were no responses at all) to the mail proposing the NEP https://mail.python.org/pipermail/numpy-discussion/2019-October/080200.html. PR 14794 https://github.com/numpy/numpy/pull/14794 is an implementation of the first step, deprecating current automatic detection, f there are no substantive objections within 7 days from this email, then the NEP will be accepted; see NEP 0 for more details. Matti From jni at fastmail.com Sun Nov 17 21:29:18 2019 From: jni at fastmail.com (Juan Nunez-Iglesias) Date: Mon, 18 Nov 2019 13:29:18 +1100 Subject: [Numpy-discussion] "Proposal to accept NEP 34: Disallow inferring dtype=object from sequence In-Reply-To: <8c0ee037-60ab-0139-0ef7-7a7f4bded678@gmail.com> References: <8c0ee037-60ab-0139-0ef7-7a7f4bded678@gmail.com> Message-ID: For what it?s worth, I support this NEP. I have indeed seen this mistake often when teaching NumPy. > On 17 Nov 2019, at 8:43 am, Matti Picus wrote: > > ?I propose to move the NEP https://numpy.org/neps/nep-0034.html from "draft" to "accepted" status. There were no objections (actually there were no responses at all) to the mail proposing the NEP https://mail.python.org/pipermail/numpy-discussion/2019-October/080200.html. > > > PR 14794 https://github.com/numpy/numpy/pull/14794 is an implementation of the first step, deprecating current automatic detection, > > > f there are no substantive objections within 7 days from this email, then the NEP will be accepted; see NEP 0 for more details. > > > Matti > > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion at python.org > https://mail.python.org/mailman/listinfo/numpy-discussion From marcelo.gosling at gmail.com Mon Nov 18 05:46:31 2019 From: marcelo.gosling at gmail.com (Marcelo Gasparian Gosling) Date: Mon, 18 Nov 2019 07:46:31 -0300 Subject: [Numpy-discussion] "Proposal to accept NEP 34: Disallow inferring dtype=object from sequence In-Reply-To: References: <8c0ee037-60ab-0139-0ef7-7a7f4bded678@gmail.com> Message-ID: I also support this. Small price in edge case usability for a lot less shooting yourself in the foot On Sun, Nov 17, 2019 at 11:29 PM Juan Nunez-Iglesias wrote: > For what it?s worth, I support this NEP. I have indeed seen this mistake > often when teaching NumPy. > > > On 17 Nov 2019, at 8:43 am, Matti Picus wrote: > > > > ?I propose to move the NEP https://numpy.org/neps/nep-0034.html from > "draft" to "accepted" status. There were no objections (actually there were > no responses at all) to the mail proposing the NEP > https://mail.python.org/pipermail/numpy-discussion/2019-October/080200.html > . > > > > > > PR 14794 https://github.com/numpy/numpy/pull/14794 is an implementation > of the first step, deprecating current automatic detection, > > > > > > f there are no substantive objections within 7 days from this email, > then the NEP will be accepted; see NEP 0 for more details. > > > > > > Matti > > > > _______________________________________________ > > NumPy-Discussion mailing list > > NumPy-Discussion at python.org > > https://mail.python.org/mailman/listinfo/numpy-discussion > > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion at python.org > https://mail.python.org/mailman/listinfo/numpy-discussion > -------------- next part -------------- An HTML attachment was scrubbed... URL: From stefanv at berkeley.edu Mon Nov 18 19:59:24 2019 From: stefanv at berkeley.edu (Stefan van der Walt) Date: Mon, 18 Nov 2019 16:59:24 -0800 Subject: [Numpy-discussion] Sprint, this Friday/Saturday (22/23 November) Message-ID: <5d0982e7-5b9f-486e-8d04-ab5b12289823@www.fastmail.com> Hi everyone, This is a reminder of the NumPy sprint that will be happening in Berkeley this Friday and Saturday, 22 and 23 November. The schedule for the sprint is at: https://hackmd.io/@GicvKC4NRbK9X9ElJTixwg/ryEPQyprr Best regards, St?fan From matti.picus at gmail.com Tue Nov 19 07:35:03 2019 From: matti.picus at gmail.com (Matti Picus) Date: Tue, 19 Nov 2019 05:35:03 -0700 Subject: [Numpy-discussion] NumPy community meeting Wed Nov 20 Message-ID: There will be a NumPy Community meeting Wednesday Nov 20 at 11 am Pacific Time. Everyone is invited to join in and edit the work-in-progress meeting topics and notes: https://hackmd.io/76o-IxCjQX2mOXO_wwkcpg?both Matti From ralf.gommers at gmail.com Tue Nov 19 14:27:15 2019 From: ralf.gommers at gmail.com (Ralf Gommers) Date: Tue, 19 Nov 2019 11:27:15 -0800 Subject: [Numpy-discussion] website repo change Message-ID: Hi all, I plan to change the master branch of the website repository to contain the new Hugo site rather than the old Sphinx site, later today. I will help with migrating git branches if anyone needs such help. Aside: two longer messages on this topic got blocked by some weird new Gmail spam filter (abusix), so keeping this short. If this has happened to anyone else recently, that would be good to know. Cheers, Ralf -------------- next part -------------- An HTML attachment was scrubbed... URL: From stefanv at berkeley.edu Tue Nov 19 20:37:20 2019 From: stefanv at berkeley.edu (Stefan van der Walt) Date: Tue, 19 Nov 2019 17:37:20 -0800 Subject: [Numpy-discussion] welcome Shaloo Shalini to the NumPy team In-Reply-To: References: Message-ID: <8d337cd8-fda2-4c9d-9e7b-6bc2f50caf9c@www.fastmail.com> On Fri, Nov 15, 2019, at 15:17, Ralf Gommers wrote: > Please welcome Shaloo Shalini to the NumPy team. Shaloo is an experienced technology marketing consultant with a passion for open source. She has been contributing graphical content, information mapping and technical writing since the summer. Most of that still needs to be integrated into the docs, the website, and the user survey that Inessa is designing, but I'm really excited about it. Nice examples are https://github.com/numpy/numpy-surveys/pull/3 and https://github.com/numpy/numpy.org/pull/23. Shaloo, welcome to the NumPy team! The work you are doing on communicating, visually and with words, is both important and potentially highly impactful. We look forward to working with you! Best regards, St?fan -------------- next part -------------- An HTML attachment was scrubbed... URL: From tyler.je.reddy at gmail.com Fri Nov 22 00:32:08 2019 From: tyler.je.reddy at gmail.com (Tyler Reddy) Date: Thu, 21 Nov 2019 22:32:08 -0700 Subject: [Numpy-discussion] ANN: SciPy 1.4.0rc1 -- please test Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi all, On behalf of the SciPy development team I'm pleased to announce the release candidate SciPy 1.4.0rc1. Please help us test this pre-release. Sources and binary wheels can be found at: https://pypi.org/project/scipy/ and at: https://github.com/scipy/scipy/releases/tag/v1.4.0rc1 One of a few ways to install the release candidate with pip: pip install scipy==1.4.0rc1 ========================== SciPy 1.4.0 Release Notes ========================== Note: Scipy 1.4.0 is not released yet! SciPy 1.4.0 is the culmination of 6 months of hard work. It contains many new features, numerous bug-fixes, improved test coverage and better documentation. There have been a number of deprecations and API changes in this release, which are documented below. All users are encouraged to upgrade to this release, as there are a large number of bug-fixes and optimizations. Before upgrading, we recommend that users check that their own code does not use deprecated SciPy functionality (to do so, run your code with ``python -Wd`` and check for ``DeprecationWarning`` s). Our development attention will now shift to bug-fix releases on the 1.4.x branch, and on adding new features on the master branch. This release requires Python 3.5+ and NumPy >=1.13.3 (for Python 3.5, 3.6), >=1.14.5 (for Python 3.7), >= 1.17.3 (for Python 3.8) For running on PyPy, PyPy3 6.0+ and NumPy 1.15.0 are required. Highlights of this release ---------------------------------- - a new submodule, `scipy.fft`, now supersedes `scipy.fftpack`; this means support for ``long double`` transforms, faster multi-dimensional transforms, improved algorithm time complexity, release of the global intepreter lock, and control over threading behavior - support for ``pydata/sparse`` arrays in `scipy.sparse.linalg` - substantial improvement to the documentation and functionality of several `scipy.special` functions, and some new additions - the generalized inverse Gaussian distribution has been added to `scipy.stats` - an implementation of the Edmonds-Karp algorithm in `scipy.sparse.csgraph.maximum_flow` - `scipy.spatial.SphericalVoronoi` now supports n-dimensional input, has linear memory complexity, improved performance, and supports single-hemisphere generators New features ============ Infrastructure ------------------- Documentation can now be built with ``runtests.py --doc`` A ``Dockerfile`` is now available in the ``scipy/scipy-dev`` repository to facilitate getting started with SciPy development. `scipy.constants` improvements -------------------------------------------- `scipy.constants` has been updated with the CODATA 2018 constants. `scipy.fft` added ----------------------- `scipy.fft` is a new submodule that supersedes the `scipy.fftpack` submodule. For the most part, this is a drop-in replacement for ``numpy.fft`` and `scipy.fftpack` alike. With some important differences, `scipy.fft`: - uses NumPy's conventions for real transforms (``rfft``). This means the return value is a complex array, half the size of the full ``fft`` output. This is different from the output of ``fftpack`` which returned a real array representing complex components packed together. - the inverse real to real transforms (``idct`` and ``idst``) are normalized for ``norm=None`` in thesame way as ``ifft``. This means the identity ``idct(dct(x)) == x`` is now ``True`` for all norm modes. - does not include the convolutions or pseudo-differential operators from ``fftpack``. This submodule is based on the ``pypocketfft`` library, developed by the author of ``pocketfft`` which was recently adopted by NumPy as well. ``pypocketfft`` offers a number of advantages over fortran ``FFTPACK``: - support for long double (``np.longfloat``) precision transforms. - faster multi-dimensional transforms using vectorisation - Bluestein?s algorithm removes the worst-case ``O(n^2)`` complexity of ``FFTPACK`` - the global interpreter lock (``GIL``) is released during transforms - optional multithreading of multi-dimensional transforms via the ``workers`` argument Note that `scipy.fftpack` has not been deprecated and will continue to be maintained but is now considered legacy. New code is recommended to use `scipy.fft` instead, where possible. `scipy.fftpack` improvements ---------------------------------------- `scipy.fftpack` now uses pypocketfft to perform its FFTs, offering the same speed and accuracy benefits listed for scipy.fft above but without the improved API. `scipy.integrate` improvements ------------------------------------------- The function `scipy.integrate.solve_ivp` now has an ``args`` argument. This allows the user-defined functions passed to the function to have additional parameters without having to create wrapper functions or lambda expressions for them. `scipy.integrate.solve_ivp` can now return a ``y_events`` attribute representing the solution of the ODE at event times New ``OdeSolver`` is implemented --- ``DOP853``. This is a high-order explicit Runge-Kutta method originally implemented in Fortran. Now we provide a pure Python implementation usable through ``solve_ivp`` with all its features. `scipy.integrate.quad` provides better user feedback when break points are specified with a weighted integrand. `scipy.integrate.quad_vec` is now available for general purpose integration of vector-valued functions `scipy.interpolate` improvements --------------------------------------------- `scipy.interpolate.pade` now handles complex input data gracefully `scipy.interpolate.Rbf` can now interpolate multi-dimensional functions `scipy.io` improvements --------------------------------- `scipy.io.wavfile.read` can now read data from a `WAV` file that has a malformed header, similar to other modern `WAV` file parsers `scipy.io.FortranFile` now has an expanded set of available ``Exception`` classes for handling poorly-formatted files `scipy.linalg` improvements -------------------------------------- The function ``scipy.linalg.subspace_angles(A, B)`` now gives correct results for complex-valued matrices. Before this, the function only returned correct values for real-valued matrices. New boolean keyword argument ``check_finite`` for `scipy.linalg.norm`; whether to check that the input matrix contains only finite numbers. Disabling may give a performance gain, but may result in problems (crashes, non-termination) if the inputs do contain infinities or NaNs. `scipy.linalg.solve_triangular` has improved performance for a C-ordered triangular matrix ``LAPACK`` wrappers have been added for ``?geequ``, ``?geequb``, ``?syequb``, and ``?heequb`` Some performance improvements may be observed due to an internal optimization in operations involving LAPACK routines via ``_compute_lwork``. This is particularly true for operations on small arrays. Block ``QR`` wrappers are now available in `scipy.linalg.lapack` `scipy.ndimage` improvements ------------------------------------------ `scipy.optimize` improvements ------------------------------------------ It is now possible to use linear and non-linear constraints with `scipy.optimize.differential_evolution`. `scipy.optimize.linear_sum_assignment` has been re-written in C++ to improve performance, and now allows input costs to be infinite. A ``ScalarFunction.fun_and_grad`` method was added for convenient simultaneous retrieval of a function and gradient evaluation `scipy.optimize.minimize` ``BFGS`` method has improved performance by avoiding duplicate evaluations in some cases Better user feedback is provided when an objective function returns an array instead of a scalar. `scipy.signal` improvements ---------------------------------------- Added a new function to calculate convolution using the overlap-add method, named `scipy.signal.oaconvolve`. Like `scipy.signal.fftconvolve`, this function supports specifying dimensions along which to do the convolution. `scipy.signal.cwt` now supports complex wavelets. The implementation of ``choose_conv_method`` has been updated to reflect the new FFT implementation. In addition, the performance has been significantly improved (with rather drastic improvements in edge cases). The function ``upfirdn`` now has a ``mode`` keyword argument that can be used to select the signal extension mode used at the signal boundaries. These modes are also available for use in ``resample_poly`` via a newly added ``padtype`` argument. `scipy.signal.sosfilt` now benefits from Cython code for improved performance `scipy.signal.resample` should be more efficient by leveraging ``rfft`` when possible `scipy.sparse` improvements ----------------------------------------- It is now possible to use the LOBPCG method in `scipy.sparse.linalg.svds`. `scipy.sparse.linalg.LinearOperator` now supports the operation ``rmatmat`` for adjoint matrix-matrix multiplication, in addition to ``rmatvec``. Multiple stability updates enable float32 support in the LOBPCG eigenvalue solver for symmetric and Hermitian eigenvalues problems in ``scipy.sparse.linalg.lobpcg``. A solver for the maximum flow problem has been added as `scipy.sparse.csgraph.maximum_flow`. `scipy.sparse.csgraph.maximum_bipartite_matching` now allows non-square inputs, no longer requires a perfect matching to exist, and has improved performance. `scipy.sparse.lil_matrix` conversions now perform better in some scenarios Basic support is available for ``pydata/sparse`` arrays in `scipy.sparse.linalg` `scipy.sparse.linalg.spsolve_triangular` now supports the ``unit_diagonal`` argument to improve call signature similarity with its dense counterpart, `scipy.linalg.solve_triangular` ``assertAlmostEqual`` may now be used with sparse matrices, which have added support for ``__round__`` `scipy.spatial` improvements ----------------------------------------- The bundled Qhull library was upgraded to version 2019.1, fixing several issues. Scipy-specific patches are no longer applied to it. `scipy.spatial.SphericalVoronoi` now has linear memory complexity, improved performance, and supports single-hemisphere generators. Support has also been added for handling generators that lie on a great circle arc (geodesic input) and for generators in n-dimensions. `scipy.spatial.transform.Rotation` now includes functions for calculation of a mean rotation, generation of the 3D rotation groups, and reduction of rotations with rotational symmetries. `scipy.spatial.transform.Slerp` is now callable with a scalar argument `scipy.spatial.voronoi_plot_2d` now supports furthest site Voronoi diagrams `scipy.spatial.Delaunay` and `scipy.spatial.Voronoi` now have attributes for tracking whether they are furthest site diagrams `scipy.special` improvements ----------------------------------------- The Voigt profile has been added as `scipy.special.voigt_profile`. A real dispatch has been added for the Wright Omega function (`scipy.special.wrightomega`). The analytic continuation of the Riemann zeta function has been added. (The Riemann zeta function is the one-argument variant of `scipy.special.zeta`.) The complete elliptic integral of the first kind (`scipy.special.ellipk`) is now available in `scipy.special.cython_special`. The accuracy of `scipy.special.hyp1f1` for real arguments has been improved. The documentation of many functions has been improved. `scipy.stats` improvements -------------------------------------- `scipy.stats.multiscale_graphcorr` added as an independence test that operates on high dimensional and nonlinear data sets. It has higher statistical power than other `scipy.stats` tests while being the only one that operates on multivariate data. The generalized inverse Gaussian distribution (`scipy.stats.geninvgauss`) has been added. It is now possible to efficiently reuse `scipy.stats.binned_statistic_dd` with new values by providing the result of a previous call to the function. `scipy.stats.hmean` now handles input with zeros more gracefully. The beta-binomial distribution is now available in `scipy.stats.betabinom`. `scipy.stats.zscore`, `scipy.stats.circmean`, `scipy.stats.circstd`, and `scipy.stats.circvar` now support the ``nan_policy`` argument for enhanced handling of ``NaN`` values `scipy.stats.entropy` now accepts an ``axis`` argument `scipy.stats.gaussian_kde.resample` now accepts a ``seed`` argument to empower reproducibility `scipy.stats.multiscale_graphcorr` has been added for calculation of the multiscale graph correlation (MGC) test statistic `scipy.stats.kendalltau` performance has improved, especially for large inputs, due to improved cache usage `scipy.stats.truncnorm` distribution has been rewritten to support much wider tails Deprecated features =================== `scipy` deprecations ----------------------------- Support for NumPy functions exposed via the root SciPy namespace is deprecated and will be removed in 2.0.0. For example, if you use ``scipy.rand`` or ``scipy.diag``, you should change your code to directly use ``numpy.random.default_rng`` or ``numpy.diag``, respectively. They remain available in the currently continuing Scipy 1.x release series. The exception to this rule is using ``scipy.fft`` as a function -- :mod:`scipy.fft` is now meant to be used only as a module, so the ability to call ``scipy.fft(...)`` will be removed in SciPy 1.5.0. In `scipy.spatial.Rotation` methods ``from_dcm``, ``as_dcm`` were renamed to ``from_matrix``, ``as_matrix`` respectively. The old names will be removed in SciPy 1.6.0. Backwards incompatible changes ============================== `scipy.special` changes ---------------------------------- The deprecated functions ``hyp2f0``, ``hyp1f2``, and ``hyp3f0`` have been removed. The deprecated function ``bessel_diff_formula`` has been removed. The function ``i0`` is no longer registered with ``numpy.dual``, so that ``numpy.dual.i0`` will unconditionally refer to the NumPy version regardless of whether `scipy.special` is imported. The function ``expn`` has been changed to return ``nan`` outside of its domain of definition (``x, n < 0``) instead of ``inf``. `scipy.sparse` changes --------------------------------- Sparse matrix reshape now raises an error if shape is not two-dimensional, rather than guessing what was meant. The behavior is now the same as before SciPy 1.1.0. `scipy.spatial` changes --------------------------------- The default behavior of the ``match_vectors`` method of `scipy.spatial.transform.Rotation` was changed for input vectors that are not normalized and not of equal lengths. Previously, such vectors would be normalized within the method. Now, the calculated rotation takes the vector length into account, longer vectors will have a larger weight. For more details, see https://github.com/scipy/scipy/issues/10968. `scipy.signal` changes -------------------------------- `scipy.signal.resample` behavior for length-1 signal inputs has been fixed to output a constant (DC) value rather than an impulse, consistent with the assumption of signal periodicity in the FFT method. `scipy.signal.cwt` now performs complex conjugation and time-reversal of wavelet data, which is a backwards-incompatible bugfix for time-asymmetric wavelets. `scipy.stats` changes ------------------------------ `scipy.stats.loguniform` added with better documentation as (an alias for ``scipy.stats.reciprocal``). ``loguniform`` generates random variables that are equally likely in the log space; e.g., ``1``, ``10`` and ``100`` are all equally likely if ``loguniform(10 ** 0, 10 ** 2).rvs()`` is used. Other changes ============= The ``LSODA`` method of `scipy.integrate.solve_ivp` now correctly detects stiff problems. `scipy.spatial.cKDTree` now accepts and correctly handles empty input data `scipy.stats.binned_statistic_dd` now calculates the standard deviation statistic in a numerically stable way. `scipy.stats.binned_statistic_dd` now throws an error if the input data contains either ``np.nan`` or ``np.inf``. Similarly, in `scipy.stats` now all continuous distributions' ``.fit()`` methods throw an error if the input data contain any instance of either ``np.nan`` or ``np.inf``. Authors ======= * @endolith * Abhinav + * Anne Archibald * ashwinpathak20nov1996 + * Danilo Augusto + * Nelson Auner + * aypiggott + * Christoph Baumgarten * Peter Bell * Sebastian Berg * Arman Bilge + * Benedikt Boecking + * Christoph Boeddeker + * Daniel Bunting * Evgeni Burovski * Angeline Burrell + * Angeline G. Burrell + * CJ Carey * Carlos Ramos Carre?o + * Mak Sze Chun + * Malayaja Chutani + * Christian Clauss + * Jonathan Conroy + * Stephen P Cook + * Dylan Cutler + * Anirudh Dagar + * Aidan Dang + * dankleeman + * Brandon David + * Tyler Dawson + * Dieter Werthm?ller * Joe Driscoll + * Jakub Dyczek + * D?vid Bodn?r * Fletcher Easton + * Stefan Endres * etienne + * Johann Faouzi * Yu Feng * Isuru Fernando + * Matthew H Flamm * Martin Gauch + * Gabriel Gerlero + * Ralf Gommers * Chris Gorgolewski + * Domen Gorjup + * Edouard Goudenhoofdt + * Jan Gwinner + * Maja Gwozdz + * Matt Haberland * hadshirt + * Pierre Haessig + * David Hagen * Charles Harris * Gina Helfrich + * Alex Henrie + * Francisco J. Hernandez Heras + * Andreas Hilboll * Lindsey Hiltner * Thomas Hisch * Min ho Kim + * Gert-Ludwig Ingold * jakobjakobson13 + * Todd Jennings * He Jia * Muhammad Firmansyah Kasim + * Andrew Knyazev + * Holger Kohr + * Mateusz Konieczny + * Krzysztof Pi?ro + * Philipp Lang + * Peter Mahler Larsen + * Eric Larson * Antony Lee * Gregory R. Lee * Chelsea Liu + * Jesse Livezey * Peter Lysakovski + * Jason Manley + * Michael Marien + * Nikolay Mayorov * G. D. McBain + * Sam McCormack + * Melissa Weber Mendon?a + * Kevin Michel + * mikeWShef + * Sturla Molden * Eric Moore * Peyton Murray + * Andrew Nelson * Clement Ng + * Juan Nunez-Iglesias * Renee Otten + * Kellie Ottoboni + * Ayappan P * Sambit Panda + * Tapasweni Pathak + * Oleksandr Pavlyk * Fabian Pedregosa * Petar Mlinari? * Matti Picus * Marcel Plch + * Christoph Pohl + * Ilhan Polat * Siddhesh Poyarekar + * Ioannis Prapas + * James Alan Preiss + * Yisheng Qiu + * Eric Quintero * Bharat Raghunathan + * Tyler Reddy * Joscha Reimer * Antonio Horta Ribeiro * Lucas Roberts * rtshort + * Josua Sassen * Kevin Sheppard * Scott Sievert * Leo Singer * Kai Striega * S?ren Fuglede J?rgensen * tborisow + * ?tienne Tremblay + * tuxcell + * Miguel de Val-Borro * Andrew Valentine + * Hugo van Kemenade * Paul van Mulbregt * Sebastiano Vigna * Pauli Virtanen * Dany Vohl + * Ben Walsh + * Huize Wang + * Warren Weckesser * Anreas Weh + * Joseph Weston + * Adrian Wijaya + * Timothy Willard + * Josh Wilson * Kentaro Yamamoto + * Dave Zbarsky + A total of 141 people contributed to this release. People with a "+" by their names contributed a patch for the first time. This list of names is automatically generated, and may not be fully complete. Issues closed for 1.4.0 --------------------------------- * `#1255 `__: maxiter broken for Scipy.sparse.linalg gmres, in addition to... * `#1301 `__: consolidate multipack.h from interpolate and integrate packages... * `#1739 `__: Single precision FFT insufficiently accurate. (Trac #1212) * `#1795 `__: stats test_distributions.py: replace old fuzz tests (Trac #1269) * `#2233 `__: fftpack segfault with big arrays (Trac #1714) * `#2434 `__: rmatmat and the sophistication of linear operator objects * `#2477 `__: stats.truncnorm.rvs() does not give symmetric results for negative... * `#2629 `__: FFTpack is unacceptably slow on non power of 2 * `#2883 `__: UnboundLocalError in scipy.interpolate.splrep * `#2956 `__: Feature Request: axis argument for stats.entropy function * `#3528 `__: Segfault on test_djbfft (possibly MKL-related?) * `#3793 `__: cwt should also return complex array * `#4464 `__: TST: residue/residuez/invres/invresz don't have any tests * `#4561 `__: BUG: tf filter trailing and leading zeros in residuez * `#4669 `__: Rewrite sosfilt to make a single loop over the input? * `#5040 `__: BUG: Empty data handling of (c)KDTrees * `#5112 `__: boxcox transform edge cases could use more care * `#5441 `__: scipy.stats.ncx2 fails for nc=0 * `#5502 `__: args keyword not handled in optimize.curve_fit * `#6484 `__: Qhull segmentation fault * `#6900 `__: linear_sum_assignment with infinite weights * `#6966 `__: Hypergeometric Functions documentation is lacking * `#6999 `__: possible false positive corruption check in compressed loadmat() * `#7018 `__: ydata that needs broadcasting renders curve_fit unable to compute... * `#7140 `__: trouble with documentation for windows * `#7327 `__: interpolate.ndgriddata.griddata causes Python to crash rather... * `#7396 `__: MatrixLinearOperator implements _adjoint(), but not _transpose() * `#7400 `__: BUG(?): special: factorial and factorial2 return a 0-dimensional... * `#7434 `__: Testing of scipy.stats continuous distributions misses 25 distributions * `#7491 `__: Several scipy.stats distributions (fisk, burr, burr12, f) return... * `#7759 `__: Overflow in stats.kruskal for large samples * `#7906 `__: Wrong result from scipy.interpolate.UnivariateSpline.integral... * `#8165 `__: ENH: match functionality of R for hmean * `#8417 `__: optimimze.minimize(method='L-BFGS-B', options={'disp': True})... * `#8535 `__: Strictly increasing requirement in UnivariateSpline * `#8815 `__: [BUG] GMRES: number of iteration is only increased if callback... * `#9207 `__: scipy.linalg.solve_triangular speed after scipy.linalg.lu_factor * `#9275 `__: new feature: adding LOBPCG solver in svds in addition to ARPACK * `#9403 `__: range of truncnorm.logpdf could be extended * `#9429 `__: gaussian_kde not working with numpy matrix * `#9515 `__: ndimage implementation relies on undefined behavior * `#9643 `__: arpack returns singular values in ascending order * `#9669 `__: DOC: matthew-brett/build-openblas has been retired * `#9852 `__: scipy.spatial.ConvexHull exit with code 134, free(): invalid... * `#9902 `__: scipy.stats.truncnorm second moment may be wrong * `#9943 `__: Custom sampling methods in shgo do not work * `#9947 `__: DOC: Incorrect documentation for \`nan_policy='propagate\` in... * `#9994 `__: BUG: sparse: reshape method allows a shape containing an arbitrary... * `#10036 `__: Official Nelder mead tutorial uses xtol instead of xatol, which... * `#10078 `__: possible to get a better error message when objective function... * `#10092 `__: overflow in truncnorm.rvs * `#10121 `__: A little spelling mistake * `#10126 `__: inaccurate std implementation in binned_statistic * `#10161 `__: Error in documentation scipy.special.modstruve * `#10195 `__: Derivative of spline with 'const' extrapolation is also extrapolted... * `#10206 `__: sparse matrices indexing with scipy 1.3 * `#10236 `__: Non-descriptive error on type mismatch for functions of scipy.optimize... * `#10258 `__: LOBPCG convergence failure if guess provided * `#10262 `__: distance matrix lacks dtype checks / warnings * `#10271 `__: BUG: optimize failure on wheels * `#10277 `__: scipy.special.zeta(0) = NAN * `#10292 `__: DOC/REL: Some sections of the release notes are not nested correctly. * `#10300 `__: scipy.stats.rv_continuous.fit throws empty RuntimeError when... * `#10319 `__: events in scipy.integrate.solve_ivp: How do I setup an events... * `#10323 `__: Adding more low-level LAPACK wrappers * `#10360 `__: firwin2 inadvertently modifies input and may result in undefined... * `#10388 `__: BLD: TestHerd::test_hetrd core dumps with Python-dbg * `#10395 `__: Remove warning about output shape of zoom * `#10403 `__: DOC: scipy.signal.resample ignores t parameter * `#10421 `__: Yeo-Johnson power transformation fails with integer input data * `#10422 `__: BUG: scipy.fft does not support multiprocessing * `#10427 `__: ENH: convolve numbers should be updated * `#10444 `__: BUG: scipy.spatial.transform.Rotation.match_vectors returns improper... * `#10488 `__: ENH: DCTs/DSTs for scipy.fft * `#10501 `__: BUG: scipy.spatial.HalfspaceIntersection works incorrectly * `#10514 `__: BUG: cKDTree GIL handling is incorrect * `#10535 `__: TST: master branch CI failures * `#10588 `__: scipy.fft and numpy.fft inconsistency when axes=None and shape... * `#10628 `__: Scipy python>3.6 Windows wheels don't ship msvcp\*.dll * `#10733 `__: DOC/BUG: min_only result does not match documentation * `#10775 `__: UnboundLocalError in Radau when given a NaN * `#10835 `__: io.wavfile.read unnecessarily raises an error for a bad wav header * `#10838 `__: Error in documentation for scipy.linalg.lu_factor * `#10875 `__: DOC: Graphical guides (using TikZ) * `#10880 `__: setting verbose > 2 in minimize with trust-constr method leads... * `#10887 `__: scipy.signal.signaltools._fftconv_faster has incorrect estimates * `#10948 `__: gammainc(0,x) = nan but should be 1, gammaincc(0,x) = nan but... * `#10952 `__: TestQRdelete_F.test_delete_last_p_col test failure * `#10968 `__: API: Change normalized=False to normalize=True in Rotation * `#10987 `__: Memory leak in shgo triangulation * `#10991 `__: Error running openBlas probably missing a step * `#11033 `__: deadlock on osx for python 3.8 * `#11041 `__: Test failure in wheel builds for TestTf2zpk.test_simple * `#11089 `__: Regression in scipy.stats where distribution will not accept loc and scale parameters Pull requests for 1.4.0 ------------------------------- * `#4591 `__: BUG, TST: Several issues with scipy.signal.residue * `#6629 `__: ENH: sparse: canonicalize on initialization * `#7076 `__: ENH: add complex wavelet support to scipy.signal.cwt. * `#8681 `__: ENH add generalized inverse Gaussian distribution to scipy.stats * `#9064 `__: BUG/ENH: Added default _transpose into LinearOperator. Fixes... * `#9215 `__: ENH: Rbf interpolation of large multi-dimensional data * `#9311 `__: ENH: Added voigt in scipy.special. * `#9642 `__: ENH: integrate: quad() for vector-valued functions * `#9679 `__: DOC: expand docstring of exponweib distribution * `#9684 `__: TST: add ppc64le ci testing * `#9800 `__: WIP : ENH: Refactored _hungarian.py for speed and added a minimize/maximize? * `#9847 `__: DOC: Change integrate tutorial to use solve_ivp instead of odeint * `#9876 `__: ENH: Use rfft when possible in resampling * `#9998 `__: BUG: Do not remove 1s when calling sparse: reshape method #9994 * `#10002 `__: ENH: adds constraints for differential evolution * `#10098 `__: ENH: integrate: add args argument to solve_ivp. * `#10099 `__: DOC: Add missing docs for linprog unknown_options * `#10104 `__: BUG: Rewrite of stats.truncnorm distribution. * `#10105 `__: MAINT improve efficiency of rvs_ratio_uniforms in scipy.stats * `#10107 `__: TST: dual_annealing set seed * `#10108 `__: ENH: stats: improve kendall_tau cache usage * `#10110 `__: MAINT: _lib: Fix a build warning. * `#10114 `__: FIX: only print bounds when supported by minimizer (shgo) * `#10115 `__: TST: Add a test with an almost singular design matrix for lsq_linear * `#10118 `__: MAINT: fix rdist methods in scipy.stats * `#10119 `__: MAINT: improve rvs of randint in scipy.stats * `#10127 `__: Fix typo in record array field name (spatial-ckdtree-sparse_distance? * `#10130 `__: MAINT: ndimage: Fix some compiler warnings. * `#10131 `__: DOC: Note the solve_ivp args enhancement in the 1.4.0 release... * `#10133 `__: MAINT: add rvs for semicircular in scipy.stats * `#10138 `__: BUG: special: Invalid arguments to ellip_harm can crash Python. * `#10139 `__: MAINT: spatial: Fix some compiler warnings in the file distance_wrap.c. * `#10140 `__: ENH: add handling of NaN in RuntimeWarning except clause * `#10142 `__: DOC: return value of scipy.special.comb * `#10143 `__: MAINT: Loosen linprog tol * `#10152 `__: BUG: Fix custom sampling input for shgo, add unittest * `#10154 `__: MAINT: add moments and improve doc of mielke in scipy.stats * `#10158 `__: Issue #6999: read zlib checksum before checking bytes read. * `#10166 `__: BUG: Correctly handle broadcasted ydata in curve_fit pcov computation. * `#10167 `__: DOC: special: Add missing factor of \`i\` to \`modstruve\` docstring * `#10168 `__: MAINT: stats: Fix an incorrect comment. * `#10169 `__: ENH: optimize: Clarify error when objective function returns... * `#10172 `__: DEV: Run tests in parallel when --parallel flag is passed to... * `#10173 `__: ENH: Implement DOP853 ODE integrator * `#10176 `__: Fixed typo * `#10182 `__: TST: fix test issue for stats.pearsonr * `#10184 `__: MAINT: stats: Simplify zmap and zscore (we can use keepdims now). * `#10191 `__: DOC: fix a formatting issue in the scipy.spatial module docstring. * `#10193 `__: DOC: Updated docstring for optimize.nnls * `#10198 `__: DOC, ENH: special: Make \`hyp2f1\` references more specific * `#10202 `__: DOC: Format DST and DCT definitions as latex equations * `#10207 `__: BUG: Compressed matrix indexing should return a scalar * `#10210 `__: DOC: Update docs for connection='weak' in connected_components * `#10225 `__: DOC: Clarify new interfaces for legacy functions in 'optimize' * `#10231 `__: DOC, MAINT: gpg2 updates to release docs / pavement * `#10235 `__: LICENSE: split license file in standard BSD 3-clause and bundled. * `#10238 `__: ENH: Add new scipy.fft module using pocketfft * `#10243 `__: BUG: fix ARFF reader regression with quoted values. * `#10248 `__: DOC: update README file * `#10255 `__: CI: bump OpenBLAS to match wheels * `#10264 `__: TST: add tests for stats.tvar with unflattened arrays * `#10280 `__: MAINT: stats: Use a constant value for sqrt(2/PI). * `#10286 `__: Development Documentation Overhaul * `#10290 `__: MAINT: Deprecate NumPy functions in SciPy root * `#10291 `__: FIX: Avoid importing xdist when checking for availability * `#10295 `__: Disable deprecated Numpy API in __odrpack.c * `#10296 `__: ENH: C++ extension for linear assignment problem * `#10298 `__: ENH: Made pade function work with complex inputs * `#10301 `__: DOC: Fix critical value significance levels in stats.anderson_ksamp * `#10307 `__: Minkowski Distance Type Fix (issue #10262) * `#10309 `__: BUG: Pass jac=None directly to lsoda * `#10310 `__: BUG: interpolate: UnivariateSpline.derivative.ext is 'zeros'... * `#10312 `__: FIX: Fixing a typo in a comment * `#10314 `__: scipy.spatial enhancement request * `#10315 `__: DOC: Update integration tutorial to solve_ivp * `#10318 `__: DOC: update the example for PPoly.solve * `#10333 `__: TST: add tests for stats.tvar with unflattened arrays * `#10334 `__: MAINT: special: Remove deprecated \`hyp2f0\`, \`hyp1f2\`, and... * `#10336 `__: BUG: linalg/interpolative: fix interp_decomp modifying input * `#10341 `__: BUG: sparse.linalg/gmres: deprecate effect of callback on semantics... * `#10344 `__: DOC: improve wording of mathematical formulation * `#10345 `__: ENH: Tiled QR wrappers for scipy.linalg.lapack * `#10350 `__: MAINT: linalg: Use the new fft subpackage in linalg.dft test... * `#10351 `__: BUG: Fix unstable standard deviation calculation in histogram * `#10353 `__: Bug: interpolate.NearestNDInterpolator (issue #10352) * `#10357 `__: DOC: linalg: Refer to scipy.fft.fft (not fftpack) in the dft... * `#10359 `__: DOC: Update roadmap now scipy.fft has been merged * `#10361 `__: ENH: Prefer scipy.fft to scipy.fftpack in scipy.signal * `#10371 `__: DOC: Tweaks to fft documentation * `#10372 `__: DOC: Fix typos * `#10377 `__: TST, MAINT: adjustments for pytest 5.0 * `#10378 `__: ENH: _lib: allow new np.random.Generator in check_random_state * `#10379 `__: BUG: sparse: set writeability to be forward-compatible with numpy>=1.17 * `#10381 `__: BUG: Fixes gh-7491, pdf at x=0 of fisk/burr/burr12/f distributions. * `#10387 `__: ENH: optimize/bfgs: don't evaluate twice at initial point for... * `#10392 `__: [DOC] Add an example for _binned_statistic_dd * `#10396 `__: Remove warning about output shape of zoom * `#10397 `__: ENH: Add check_finite to sp.linalg.norm * `#10399 `__: ENH: Add __round__ method to sparse matrix * `#10407 `__: MAINT: drop pybind11 from install_requires, it's only build-time... * `#10408 `__: TST: use pytest.raises, not numpy assert_raises * `#10409 `__: CI: uninstall nose on Travis * `#10410 `__: [ENH] ncx2 dispatch to chi2 when nc=0 * `#10411 `__: TST: optimize: test should use assert_allclose for fp comparisons * `#10414 `__: DOC: add pybind11 to the other part of quickstart guides * `#10417 `__: DOC: special: don't mark non-ufuncs with a \`[+]\` * `#10423 `__: FIX: Use pybind11::isinstace to check array dtypes * `#10424 `__: DOC: add doctest example for binary data for ttest_ind_from_stats * `#10425 `__: ENH: Add missing Hermitian transforms to scipy.fft * `#10426 `__: MAINT: Fix doc build bugs * `#10431 `__: Update numpy version for AIX * `#10433 `__: MAINT: Minor fixes for the stats * `#10434 `__: BUG: special: make \`ndtri\` return NaN outside domain of definition * `#10435 `__: BUG: Allow integer input data in scipy.stats.yeojohnson * `#10438 `__: [DOC] Add example for kurtosis * `#10440 `__: ENH: special: make \`ellipk\` a ufunc * `#10443 `__: MAINT: ndimage: malloc fail check * `#10447 `__: BLD: Divert output from test compiles into a temporary directory * `#10451 `__: MAINT: signal: malloc fail check * `#10455 `__: BUG: special: fix values of \`hyperu\` for negative \`x\` * `#10456 `__: DOC: Added comment clarifying the call for dcsrch.f in lbfgsb.f * `#10457 `__: BUG: Allow ckdtree to accept empty data input * `#10459 `__: BUG:TST: Compute lwork safely * `#10460 `__: [DOC] Add example to entropy * `#10461 `__: DOC: Quickstart Guide updates * `#10462 `__: TST: special: only show max atol/rtol for test points that failed * `#10465 `__: BUG: Correctly align fft inputs * `#10467 `__: ENH: lower-memory duplicate generator checking in spatial.SphericalVoronoi * `#10470 `__: ENH: Normalise the inverse DCT/DST in scipy.fft * `#10472 `__: BENCH: adjust timeout for slow setup_cache * `#10475 `__: CI: include python debug for Travis-ci * `#10476 `__: TST: special: use \`__tracebackhide__\` to get better error messages * `#10477 `__: ENH: faster region building in spatial.SphericalVoronoi * `#10479 `__: BUG: stats: Fix a few issues with the distributions' fit method. * `#10480 `__: Add RuntimeError in _distn_infrastructure.py in fit() method * `#10481 `__: BENCH, MAINT: wheel_cache_size has been renamed build_cache_size * `#10494 `__: ENH: faster circumcenter calculation in spatial.SphericalVoronoi * `#10500 `__: Splrep _curfit_cache global variable bugfix * `#10503 `__: BUG: spatial/qhull: get HalfspaceIntersection.dual_points from... * `#10506 `__: DOC: interp2d, note nearest neighbor extrapolation * `#10507 `__: MAINT: Remove fortran fftpack library in favour of pypocketfft * `#10508 `__: TST: fix a bug in the circular import test. * `#10509 `__: MAINT: Set up _build_utils as subpackage * `#10516 `__: BUG: Use nogil contexts in cKDTree * `#10517 `__: ENH: fftconvolve should not FFT broadcastable axes * `#10518 `__: ENH: Speedup fftconvolve * `#10520 `__: DOC: Proper .rst formatting for deprecated features and Backwards... * `#10523 `__: DOC: Improve scipy.signal.resample documentation * `#10524 `__: ENH: Add MGC to scipy.stats * `#10525 `__: [ENH] ncx2.ppf dispatch to chi2 when nc=0 * `#10526 `__: DOC: clarify laplacian normalization * `#10528 `__: API: Rename scipy.fft DCT/DST shape argument to s * `#10531 `__: BUG: fixed improper rotations in spatial.transform.rotation.match_vectors * `#10533 `__: [DOC] Add example for winsorize function * `#10539 `__: MAINT: special: don't register \`i0\` with \`numpy.dual\` * `#10540 `__: MAINT: Fix Travis and Circle * `#10542 `__: MAINT: interpolate: use cython_lapack * `#10547 `__: Feature request. Add furthest site Voronoi diagrams to scipy.spatial.plotutils. * `#10549 `__: [BUG] Fix bug in trimr when inclusive=False * `#10552 `__: add scipy.signal.upfirdn signal extension modes * `#10555 `__: MAINT: special: move \`c_misc\` into Cephes * `#10556 `__: [DOC] Add example for trima * `#10562 `__: [DOC] Fix triple string fo trimmed so that __doc__ can show... * `#10563 `__: improve least_squares error msg for mismatched shape * `#10564 `__: ENH: linalg: memoize get_lapack/blas_funcs to speed it up * `#10566 `__: ENH: add implementation of solver for the maximum flow problem * `#10567 `__: BUG: spatial: use c++11 construct for getting start of vector... * `#10568 `__: DOC: special: small tweaks to the \`zetac\` docstring * `#10571 `__: [ENH] Gaussian_kde can accept matrix dataset * `#10574 `__: ENH: linalg: speed up _compute_lwork by avoiding numpy constructs * `#10582 `__: Fix typos with typos in bundled libraries reverted * `#10583 `__: ENH: special: add the analytic continuation of Riemann zeta * `#10584 `__: MAINT: special: clean up \`special.__all__\` * `#10586 `__: BUG: multidimensional scipy.fft functions should accept 's' rather... * `#10587 `__: BUG: integrate/lsoda: never abort run, set error istate instead * `#10594 `__: API: Replicate numpy's fftn behaviour when s is given but not... * `#10599 `__: DOC: dev: update documentation vs. github pull request workflow... * `#10603 `__: MAINT: installer scripts removed * `#10604 `__: MAINT: Change c\*np.ones(...) to np.full(..., c, ...) in many... * `#10608 `__: Univariate splines should require x to be strictly increasing... * `#10613 `__: ENH: Add seed option for gaussian_kde.resample * `#10614 `__: ENH: Add parallel computation to scipy.fft * `#10615 `__: MAINT: interpolate: remove unused header file * `#10616 `__: MAINT: Clean up 32-bit platform xfail markers * `#10618 `__: BENCH: Added 'trust-constr' to minimize benchmarks * `#10621 `__: [MRG] multiple stability updates in lobpcg * `#10622 `__: MAINT: forward port 1.3.1 release notes * `#10624 `__: DOC: stats: Fix spelling of 'support'. * `#10627 `__: DOC: stats: Add references for the alpha distribution. * `#10629 `__: MAINT: special: avoid overflow longer in \`zeta\` for negative... * `#10630 `__: TST: GH10271, relax test assertion, fixes #10271 * `#10631 `__: DOC: nelder-mean uses xatol fixes #10036 * `#10633 `__: BUG: interpolate: integral(a, b) should be zero when both limits... * `#10635 `__: DOC: special: complete hypergeometric functions documentation * `#10636 `__: BUG: special: use series for \`hyp1f1\` when it converges rapidly * `#10641 `__: ENH: allow matching of general bipartite graphs * `#10643 `__: ENH: scipy.sparse.linalg.spsolve triangular unit diagonal * `#10650 `__: ENH: Cythonize sosfilt * `#10654 `__: DOC: Vertical alignment of table entries * `#10655 `__: ENH: Dockerfile for scipy development * `#10660 `__: TST: clean up tests for rvs in scipy.stats * `#10664 `__: Throw error on non-finite input for binned_statistic_dd() * `#10665 `__: DOC: special: improve the docstrings for \`gamma\` and \`gammasgn\` * `#10669 `__: TST: Update scipy.fft real transform tests * `#10670 `__: DOC: Clarify docs and error messages for scipy.signal.butter * `#10672 `__: ENH: return solution attribute when using events in solve_ivp * `#10675 `__: MAINT: special: add an explicit NaN check for \`iv\` arguments * `#10679 `__: DOC: special: Add documentation for \`beta\` function * `#10681 `__: TST: sparse.linalg: fix arnoldi test seed * `#10682 `__: DOC: special: Add documentation for \`betainc\` function * `#10684 `__: TST: special: require Mpmath 1.1.0 for \`test_hyperu_around_0\` * `#10686 `__: FIX: sphinx isattributedescriptor is not available in sphinx... * `#10687 `__: DOC: added Docker quickstart guide by @andyfaff * `#10689 `__: DOC: special: clarify format of parameters/returns sections for... * `#10690 `__: DOC: special: improve docstrings of incomplete gamma functions * `#10692 `__: ENH: higher-dimensional input in \`spatial.SphericalVoronoi\` * `#10694 `__: ENH: ScalarFunction.fun_and_grad * `#10698 `__: DOC: special: Add documentation for \`betaincinv\` * `#10699 `__: MAINT: remove time print lbfgsb fixes #8417 * `#10701 `__: TST, MAINT: bump OpenBLAS to 0.3.7 stable * `#10702 `__: DOC: clarify iterations consume multiple function calls * `#10703 `__: DOC: iprint doc lbfgsb closes #5482 * `#10708 `__: TST: test suggested in gh1758 * `#10710 `__: ENH: Added nan_policy to circ functions in \`stats\` * `#10712 `__: ENH: add axis parameter to stats.entropy * `#10714 `__: DOC: Formatting fix rv_continuous.expect docs * `#10715 `__: DOC: BLD: update doc Makefile for python version; add scipy version... * `#10717 `__: MAINT: modernize doc/Makefile * `#10719 `__: Enable setting minres initial vector * `#10720 `__: DOC: silence random warning in doc build for \`stats.binned_statistic_dd\` * `#10724 `__: DEV: Add doc option to runtests.py * `#10728 `__: MAINT: get rid of gramA, gramB text files that lobpcg tests leave... * `#10732 `__: DOC: add min_only to docstring for Dijkstra's algorithm * `#10734 `__: DOC: spell out difference between source and target in shortest... * `#10735 `__: Fix for Python 4 * `#10739 `__: BUG: optimize/slsqp: deal with singular BFGS update * `#10741 `__: ENH: LAPACK wrappers for ?geequ, ?geequb, ?syequb, ?heequb * `#10742 `__: DOC: special: add to the docstring of \`gammaln\` * `#10743 `__: ENH: special: add a real dispatch for \`wrightomega\` * `#10746 `__: MAINT: Fix typos in comments, docs and test name * `#10747 `__: Remove spurious quotes * `#10750 `__: MAINT: make cython code more precise * `#10751 `__: MAINT: Check that scipy.linalg.lapack functions are documented * `#10752 `__: MAINT: special: use \`sf_error\` in Cephes * `#10755 `__: DOC: cluster: Add 'See Also' and 'Examples' for kmeans2. * `#10763 `__: MAINT: list of minimize methods * `#10768 `__: BUG: Fix corner case for sos2zpk * `#10773 `__: Fix error type for complex input to scipy.fftpack.rfft and irfft * `#10776 `__: ENH: handle geodesic input in \`spatial.SphericalVoronoi\` * `#10777 `__: MAINT: minimizer-->custom should handle the kinds of bounds/constrain?... * `#10781 `__: ENH: solve_triangular C order improvement * `#10787 `__: Fix behavior of \`exp1\` on branch cut and add docstring * `#10789 `__: DOC: special: add parameters/returns doc sections for erfc/erfcx/erfi * `#10790 `__: Travis CI: sudo is deprecated and Xenial is default distro * `#10792 `__: DOC: special: add full docstring for \`expi\` * `#10799 `__: DOC: special: add a complete docstring for \`expn\` * `#10800 `__: Docs edits (GSoD) * `#10802 `__: BUG: fix UnboundLocalError in Radau (scipy#10775) * `#10804 `__: ENH: Speed up next_fast_len with LRU cache * `#10805 `__: DOC: Fix unbalanced quotes in signal.place_poles * `#10809 `__: ENH: Speed up next_fast_len * `#10810 `__: ENH: Raise catchable exceptions for bad Fortran files * `#10811 `__: MAINT: optimize: Remove extra variable from _remove_redundancy_dense * `#10813 `__: MAINT: special: Remove unused variables from _kolmogi and _smirnovi * `#10815 `__: DOC, API: scipy.stats.reciprocal is "log-uniform" * `#10816 `__: MAINT: special: remove deprecated \`bessel_diff_formula\` * `#10817 `__: DOC: special: complete the docstring for \`fresnel\` * `#10820 `__: Fixed compiler_helper.py to allow compilation with ICC on Linux * `#10823 `__: DOC: updated reference guide text for consistency in writing... * `#10825 `__: MAINT: special: change some features of the Voigt function * `#10828 `__: MAINT: integrate: Remove unused variable from init_callback * `#10830 `__: Adding LOBPCG solver in svds in addition to ARPACK * `#10837 `__: WIP: ENH: reduction function for \`spatial.tranform.Rotation\`... * `#10843 `__: ENH: Adding optional parameter to stats.zscores to allow for... * `#10845 `__: Rebase kruskal fix * `#10847 `__: remove redundant __getitem__ from scipy.sparse.lil * `#10848 `__: Better handling of empty (not missing) docstrings * `#10849 `__: ENH: implement rmatmat for LinearOperator * `#10850 `__: MAINT : Refactoring lil List of Lists * `#10851 `__: DOC: add a generative art example to the scipy.spatial tutorial. * `#10852 `__: DOC: linalg: fixed gh-10838 unused imports in example deleted * `#10854 `__: DOC: special: add a full docstring for \`pdtr\` * `#10861 `__: ENH: option to reuse binnumbers in stats.binned_statistic_dd * `#10863 `__: DOC: partial standardization and validation of scipy.stats reference... * `#10865 `__: BUG: special: fix incomplete gamma functions for infinite \`a\` * `#10866 `__: ENH: calculation of mean in spatial.transform.Rotation * `#10867 `__: MAINT: Also store latex directory * `#10869 `__: ENH: Implement overlap-add convolution * `#10870 `__: ENH: Do not raise EOF error if wavfile data read * `#10876 `__: ENH: Add beta-binomial distribution to scipy.stats * `#10878 `__: MAINT: Update R project URL * `#10883 `__: MAINT: (ndimage) More robust check for output being a numpy dtype * `#10884 `__: DOC: Added instructions on adding a new distribution to scipy.stats. * `#10885 `__: [BUG] fix lobpcg with maxiter=None results in Exception * `#10899 `__: ENH: Match R functionality for hmean * `#10900 `__: MAINT: stats: Use keepdims to simplify a few lines in power_divergence. * `#10901 `__: ENH: sparse/linalg: support pydata/sparse matrices * `#10907 `__: Check whether \`maxiter\` is integer * `#10912 `__: ENH: warn user that quad() ignores \`points=...\` when \`weight=...\`... * `#10918 `__: CI: fix Travis CI py3.8 build * `#10920 `__: MAINT: Update constants to codata 2018 values (second try) * `#10921 `__: ENH: scipy.sparse.lil: tocsr accelerated * `#10924 `__: BUG: Forbid passing 'args' as kwarg in scipy.optimize.curve_fit * `#10928 `__: DOC: Add examples to io.wavfile docstrings * `#10934 `__: typo fix * `#10935 `__: BUG: Avoid undefined behaviour on float to unsigned conversion * `#10936 `__: DOC: Added missing example to stats.mstats.variation * `#10939 `__: ENH: scipy.sparse.lil: tocsr accelerated depending on density * `#10946 `__: BUG: setting verbose > 2 in minimize with trust-constr method... * `#10947 `__: DOC: special: small improvements to the \`poch\` docstring * `#10949 `__: BUG: fix return type of erlang_gen._argcheck * `#10951 `__: DOC: fixed Ricker wavelet formula * `#10954 `__: BUG: special: fix \`factorial\` return type for 0-d inputs * `#10955 `__: MAINT: Relax the assert_unitary atol value * `#10956 `__: WIP: make pdtr(int, double) be pdtr(double, double) * `#10957 `__: BUG: Ensure full binary compatibility of long double test data * `#10964 `__: ENH: Make Slerp callable with a scalar argument * `#10972 `__: BUG: Handle complex gains in zpk2sos * `#10975 `__: TST: skip test_kendalltau ppc64le * `#10978 `__: BUG: boxcox data dimension and constancy check #5112 * `#10979 `__: API: Rename dcm to (rotation) matrix in Rotation class * `#10981 `__: MAINT: add support for a==0 and x>0 edge case to igam and igamc * `#10986 `__: MAINT: Remove direct imports from numpy in signaltools.py * `#10988 `__: BUG: signal: fixed issue #10360 * `#10989 `__: FIX binned_statistic_dd Mac wheel test fails * `#10990 `__: BUG: Fix memory leak in shgo triangulation * `#10992 `__: TST: Relax tolerance in upfirdn test_modes * `#10993 `__: TST: bump tolerance in optimize tests * `#10997 `__: MAINT: Rework residue and residuez * `#11001 `__: DOC: Updated Windows build tutorial * `#11004 `__: BUG: integrate/quad_vec: fix several bugs in quad_vec * `#11005 `__: TST: add Python 3.8 Win CI * `#11006 `__: DOC: special: add a reference for \`kl_div\` * `#11012 `__: MAINT: Rework invres and invresz * `#11015 `__: DOC: special: add references for \`rel_entr\` * `#11017 `__: DOC: numpydoc validation of morestats.py * `#11018 `__: MAINT: Filter unrelated warning * `#11031 `__: MAINT: update choose_conv_method for pocketfft implementation * `#11034 `__: MAINT: TST: Skip tests with multiprocessing that use "spawn"... * `#11036 `__: DOC: update doc/README with some more useful content. * `#11037 `__: DOC: special: add a complete docstring for \`rgamma\` * `#11038 `__: DOC: special: add a reference for the polygamma function * `#11042 `__: TST: fix tf2zpk test failure due to incorrect complex sorting. * `#11044 `__: MAINT: choose_conv_method can choose fftconvolution for longcomplex * `#11046 `__: TST: Reduce tolerance for ppc64le with reference lapack * `#11048 `__: DOC: special: add reference for orthogonal polynomial functions * `#11049 `__: MAINT: proper random number initialization and readability fix * `#11051 `__: MAINT: pep8 cleanup * `#11054 `__: TST: bump test precision for dual_annealing SLSQP test * `#11055 `__: DOC: special: add a reference for \`zeta\` * `#11056 `__: API: Deprecated normalized keyword in Rotation * `#11065 `__: DOC: Ubuntu Development Environment Quickstart should not modify... * `#11066 `__: BUG: skip deprecation for numpy top-level types * `#11067 `__: DOC: updated documentation for consistency in writing style * `#11070 `__: DOC: Amendment to Ubuntu Development Environment Quickstart should... * `#11073 `__: DOC: fix 1.4.0 release notes * `#11083 `__: DOC: more 1.4.0 release note fixes * `#11092 `__: BUG: stats: fix freezing of some distributions Checksums ========= MD5 ~~~ 283af03de950a39ecf31564328f88931 scipy-1.4.0rc1-cp35-cp35m-macosx_10_6_intel.whl d327980b440a6f11815f621c3734e0de scipy-1.4.0rc1-cp35-cp35m-manylinux1_i686.whl 10790c7c39eb98e63ad0eff9c17a63ba scipy-1.4.0rc1-cp35-cp35m-manylinux1_x86_64.whl c4d2fc262932c9068ac67ec498d0c2b3 scipy-1.4.0rc1-cp35-cp35m-win32.whl 31a163cf22320fd7dc7d491ac19e7e91 scipy-1.4.0rc1-cp35-cp35m-win_amd64.whl 0f84c55181dd5ce96d1daf0c7be392ec scipy-1.4.0rc1-cp36-cp36m-macosx_10_6_intel.whl 97d356eca6d39c9f130832ec79d0aa53 scipy-1.4.0rc1-cp36-cp36m-manylinux1_i686.whl d71670c4c2791fc3b335b27e94115519 scipy-1.4.0rc1-cp36-cp36m-manylinux1_x86_64.whl a6b733a86b455e1a99c58d5cc9c88807 scipy-1.4.0rc1-cp36-cp36m-win32.whl 9970702ab6ffd2fde68e9d19ba2f1a85 scipy-1.4.0rc1-cp36-cp36m-win_amd64.whl e48bdb4b341881b0d6a6e42b6d40290f scipy-1.4.0rc1-cp37-cp37m-macosx_10_6_intel.whl 508b3a49605840688d7996cc63e34c3d scipy-1.4.0rc1-cp37-cp37m-manylinux1_i686.whl 4ea165ef97d27cc35353d3628754bfa5 scipy-1.4.0rc1-cp37-cp37m-manylinux1_x86_64.whl 2cf7e244907748ea06f7bb61ae5ae391 scipy-1.4.0rc1-cp37-cp37m-win32.whl 36af22c75fd05e45d199fd960fd07def scipy-1.4.0rc1-cp37-cp37m-win_amd64.whl cb896d976a1c5ac930913e7275e8d4f4 scipy-1.4.0rc1-cp38-cp38-macosx_10_9_x86_64.whl 79c2a3d9a33f5d83b6a7cba97bbf5ecd scipy-1.4.0rc1-cp38-cp38-manylinux1_i686.whl 5e220977f0098cc8f440f1368f1ebc3e scipy-1.4.0rc1-cp38-cp38-manylinux1_x86_64.whl 548f18b97844bc068c2df64ee83af012 scipy-1.4.0rc1-cp38-cp38-win32.whl c9ed1c0d77e868f41d1c5dd1899b6fc0 scipy-1.4.0rc1-cp38-cp38-win_amd64.whl e8fef0f2c0305a02fc9acdb385df3f34 scipy-1.4.0rc1.tar.gz 892a34e4d0afbe09dc22cad360eab923 scipy-1.4.0rc1.tar.xz 63e055ef51e94428191824c8d42df715 scipy-1.4.0rc1.zip SHA256 ~~~~~~ 64f9e49dddf97b635ebb1e513b99103db33842035142dd141a83d1dd95f31850 scipy-1.4.0rc1-cp35-cp35m-macosx_10_6_intel.whl bddd8aa1fed04e2e00a5f14703b1955e4b8f0c71bea8ceb926fda0b024666aef scipy-1.4.0rc1-cp35-cp35m-manylinux1_i686.whl f3af484a178e6021d48c5a3d99e35b49db3cf478edf013cac63fdaeb156d81f2 scipy-1.4.0rc1-cp35-cp35m-manylinux1_x86_64.whl 6c4deb6dee25f19867812a51af0551364d9e7bbf76b10389536f9c0a0633308d scipy-1.4.0rc1-cp35-cp35m-win32.whl 7600ea58d37f3603c90d92f89244441021ed6aee0312c9ba9d2cfb73b7d5b72e scipy-1.4.0rc1-cp35-cp35m-win_amd64.whl 39ec6b1a6c1ee678a4bcfe66e37ca6fc432cb074f2f7b6f94e5ee45aa5f6cd21 scipy-1.4.0rc1-cp36-cp36m-macosx_10_6_intel.whl 2777bc70e9700619386161753f8642098cb274a1564d275cc4363bafc601af28 scipy-1.4.0rc1-cp36-cp36m-manylinux1_i686.whl 7654d6e6bd29f22585a9cea6d0b53d860eb344c6816b5f5a3b7954ebf44b40cd scipy-1.4.0rc1-cp36-cp36m-manylinux1_x86_64.whl b0e8a1e21c3c2e7dba71993544360f61998ac78bace70a98e0cc67e7a09bf197 scipy-1.4.0rc1-cp36-cp36m-win32.whl cf4117db3568017b1c8621a0218e91c16e41ae68ebf456f7e9c7780f4ae28aba scipy-1.4.0rc1-cp36-cp36m-win_amd64.whl 3f21e988bfaebeb850ae8d6488ba6cd18ff91b1e7339fcc0a28bafbe876af871 scipy-1.4.0rc1-cp37-cp37m-macosx_10_6_intel.whl e6ff464bc277d23dbd29abb6f2013c0849b3108624b7227af00663959385abd2 scipy-1.4.0rc1-cp37-cp37m-manylinux1_i686.whl ddb942bc84306e4cd4d40fffc31340bafa91f871a3018ef326ac6654f57c7300 scipy-1.4.0rc1-cp37-cp37m-manylinux1_x86_64.whl 0c2b4c99561cbc8e590a6cea9244d3af2e1c429db77cd58253f5e7fc95654faa scipy-1.4.0rc1-cp37-cp37m-win32.whl c574920b788de11b19da2afbfa9c72907dc9789f1f7fc2ce779c5b24f94beca3 scipy-1.4.0rc1-cp37-cp37m-win_amd64.whl d7e16527312df4175a151ea039d16913c28b108611080b34c7aea8fe4812c869 scipy-1.4.0rc1-cp38-cp38-macosx_10_9_x86_64.whl 0b4ffb335bf3de63c75502a1e574fa5a50f16dea22856ae79e6c24f42199244b scipy-1.4.0rc1-cp38-cp38-manylinux1_i686.whl d413d192d10629fbaec2dfbc7455b69e1f68ddf30e832e74461b0ed4e546e13a scipy-1.4.0rc1-cp38-cp38-manylinux1_x86_64.whl 0ab04d014258c81809e07f0379ecebd406bc9004006c7d342c5e40012037ddf9 scipy-1.4.0rc1-cp38-cp38-win32.whl 6e218da2c038ad347d8e07bdcc89878c4e70ee115839551c6ae3c7d569f29ddf scipy-1.4.0rc1-cp38-cp38-win_amd64.whl cbdb4c45bfd6fa474693328023a6da8e921a1919d078f046bda9de0fbc4d4e6f scipy-1.4.0rc1.tar.gz b9a44836fe47cf068d1a3ecc7845f82e9b88b8f37a38ea9a00d32b97d8fec69f scipy-1.4.0rc1.tar.xz 129c1d6c6614bf385c735da806e2f003d121581a40b066438c0823f623295c3a scipy-1.4.0rc1.zip -----BEGIN PGP SIGNATURE----- iQGzBAEBCAAdFiEEuinQzfUTSK0iykiguEZ+VI8xggYFAl3XYkMACgkQuEZ+VI8x ggaqGwv/Y/hZ6d48aEbqUhLjMOu2voz8irASbFvQqNW9jWcKQbN2Dvb5+a38fpur 5kBS1dPxT0J+RDVUhxD3l9dOsf7sY7hrzs7FsDuf3/KVSyIBSJugH5CLY0O2JqC0 /X3NM9re8cfqk7G6aEg0w9h7hfmVkejcWkFjV++jNUu5c0lDMSSSzv8vbr8M4Oji o/cRTl1KkuKTdkaLYqGdgjbnJGREPUPHI3L6ORRQ/QnyRQUdn/0krRRRp/5i2JeU Qr+CmnnD00YlNuP/uKZzxNPNN0oIi4BxdaYzj05W9Rj1i44PuTnGnaPsw1IhgsBs k/plOcMqm1n2pmmigXm5Yb5W7MCy60f70iKB7K7DgdNfLJDCgK2YSUqGj96ULz7g O+ytSemcQB5wTOjFICgsK7AsPSCI5wjimyaQQmZu4EmLO/oKW3DrKie9WFMx75hw bv/Ky+OHyuL+GbYqYpdsyz9X3xqoU9RvH7TlGqAkZk/fRgmdjlwKRN2Oqgs6FJlA XzBMUi2/ =gP0G -----END PGP SIGNATURE----- -------------- next part -------------- An HTML attachment was scrubbed... URL: From matti.picus at gmail.com Fri Nov 22 11:53:48 2019 From: matti.picus at gmail.com (Matti Picus) Date: Fri, 22 Nov 2019 08:53:48 -0800 Subject: [Numpy-discussion] Updated numpy.random C-API Message-ID: Hi everyone, We recently officially exposed and documented[0] the C-API side of numpy.random. There are now working examples[3] of using numpy.random from numba[1], cython[2], and cffi[5]. Please try this out before the 1.18 release by installing the latest HEAD version and making sure the interfaces work for your use case. There is an open issue[4] for exploring such use cases, but we need feedback about where documentation is missing, where functionality falls short, and help with sample code demonstrating any of the use cases not yet explicitly tested. Matti [0] https://numpy.org/devdocs/reference/random/extending.html [1] https://numpy.org/devdocs/reference/random/extending.html#numba [2] https://numpy.org/devdocs/reference/random/extending.html#cython [3] https://numpy.org/devdocs/reference/random/extending.html#examples [4] https://github.com/numpy/numpy/issues/14778 [5] https://github.com/numpy/numpy/pull/14954 From jfoxrabinovitz at gmail.com Sat Nov 23 00:42:08 2019 From: jfoxrabinovitz at gmail.com (Joseph Fox-Rabinovitz) Date: Sat, 23 Nov 2019 00:42:08 -0500 Subject: [Numpy-discussion] PR 14966: Adding a new argument to np.asfarray Message-ID: Hi, I've submitted PR #14966, which makes a couple of small, backward compatible, changes to the API of `asfarray`: 1. Added `copy` parameter that defaults to `False` 2. Added `None` option to the `dtype` parameter Item #1 is inspired by situations like the one in Stack Overflow question https://stackoverflow.com/q/58998475/2988730. Sometimes, you just need to ensure a copy, and it's nice not to have to check things like if `asfarray(x) is x: x = x.copy()`. Item #2 solves the problem of trying to do `asfarray(x, dtype=x.dtype)` for `x` that don't have a `dtype` attribute, like lists or tuples. I've made every effort to make `dtype` and `copy` play together nicely. On an unrelated note, I've also submitted #14967 to clean up the internals of `mintypecode` a little in the same file. Regards, - Joe -------------- next part -------------- An HTML attachment was scrubbed... URL: From matti.picus at gmail.com Sat Nov 23 11:43:52 2019 From: matti.picus at gmail.com (Matti Picus) Date: Sat, 23 Nov 2019 08:43:52 -0800 Subject: [Numpy-discussion] Proposal to accept NEP 34: Disallow inferring dtype=object from sequence In-Reply-To: <8c0ee037-60ab-0139-0ef7-7a7f4bded678@gmail.com> References: <8c0ee037-60ab-0139-0ef7-7a7f4bded678@gmail.com> Message-ID: <7b4c35ed-165b-fb89-0ea7-2ce7f59f0f8e@gmail.com> On 16/11/19 1:42 pm, Matti Picus wrote: > I propose to move the NEP https://numpy.org/neps/nep-0034.html from > "draft" to "accepted" status. There were no objections (actually there > were no responses at all) to the mail proposing the NEP > https://mail.python.org/pipermail/numpy-discussion/2019-October/080200.html. > > > PR 14794 https://github.com/numpy/numpy/pull/14794 is an > implementation of the first step, deprecating current automatic > detection, > > > f there are no substantive objections within 7 days from this email, > then the NEP will be accepted; see NEP 0 for more details. > > > Matti > There were no objections, we can move forward. Thanks, Matti From tyler.je.reddy at gmail.com Sat Nov 23 16:59:51 2019 From: tyler.je.reddy at gmail.com (Tyler Reddy) Date: Sat, 23 Nov 2019 14:59:51 -0700 Subject: [Numpy-discussion] ANN: SciPy 1.3.3 Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi all, On behalf of the SciPy development team I'm pleased to announce the release of SciPy 1.3.3, a bug fix release that addresses a DLL loading issue for wheels and a multiprocessing test issue. Sources and binary wheels can be found at: https://pypi.org/project/scipy/ and at: https://github.com/scipy/scipy/releases/tag/v1.3.3 One of a few ways to install this release with pip: pip install scipy==1.3.3 ===================== SciPy 1.3.3 Release Notes ===================== SciPy 1.3.3 is a bug-fix release with no new features compared to 1.3.2. In particular, a test suite issue involving multiprocessing was fixed for Windows and Python 3.8 on macOS. Wheels were also updated to place msvcp140.dll at the appropriate location, which was previously causing issues. Authors ======= Ilhan Polat Tyler Reddy Ralf Gommers Issues closed for 1.3.3 -------------------------------- * `#11033 `__: deadlock on osx for python 3.8 Pull requests for 1.3.3 --------------------------------- * `#11034 `__: MAINT: TST: Skip tests with multiprocessing that use "spawn" start method Checksums ========= MD5 ~~~ 69dabfe955c7092f5389a4374db57186 scipy-1.3.3-cp35-cp35m-macosx_10_6_intel.whl 23f3f5f48dc7893b9ff2a9a63adcf8c7 scipy-1.3.3-cp35-cp35m-manylinux1_i686.whl e80281d504225da4b081245ac44081b5 scipy-1.3.3-cp35-cp35m-manylinux1_x86_64.whl 7af194e334c13a9b13f8814f4e1695ce scipy-1.3.3-cp35-cp35m-win32.whl a39a6cb0436572f6149c87036288bd53 scipy-1.3.3-cp35-cp35m-win_amd64.whl e0b74a4370050d48175c5ef91c50dbeb scipy-1.3.3-cp36-cp36m-macosx_10_6_intel.whl 0bd21eb01dc34028d85fd2a9d752caf2 scipy-1.3.3-cp36-cp36m-manylinux1_i686.whl 64d9fb9b4ce5f9869834810dde4bc06f scipy-1.3.3-cp36-cp36m-manylinux1_x86_64.whl ef5d60c5485f9ff7ff0fbc42b4c8d4e5 scipy-1.3.3-cp36-cp36m-win32.whl a3196497b85fc166cd50d7f465674753 scipy-1.3.3-cp36-cp36m-win_amd64.whl 0f6add185264881102ecac2fb5fb141c scipy-1.3.3-cp37-cp37m-macosx_10_6_intel.whl 8d058ca27f5f5b0841f6a7fabcf79aed scipy-1.3.3-cp37-cp37m-manylinux1_i686.whl eb609b74f3603cd4249cc31534a0d531 scipy-1.3.3-cp37-cp37m-manylinux1_x86_64.whl 46530dd85bf3dc2094ac7775b7279d81 scipy-1.3.3-cp37-cp37m-win32.whl b5d3f757675d45f9f69ca0729d012205 scipy-1.3.3-cp37-cp37m-win_amd64.whl 94455bf1e5a6f8bf459bc0971897e2f1 scipy-1.3.3-cp38-cp38-macosx_10_9_x86_64.whl 150c45e2a3c5b14aa089a7f7835212e2 scipy-1.3.3-cp38-cp38-manylinux1_i686.whl c6e464fdb7e928da58a7bd84f389cb74 scipy-1.3.3-cp38-cp38-manylinux1_x86_64.whl 08d3a330ef2469d139527163717fc318 scipy-1.3.3-cp38-cp38-win32.whl 286528ecaab3b56d6405d2775604d18d scipy-1.3.3-cp38-cp38-win_amd64.whl b265efea6ce2f2c1e580cc66bfb8b117 scipy-1.3.3.tar.gz 4c73d4a86f97f41ceface4fc1622e2f7 scipy-1.3.3.tar.xz 5e8182d8b29b04bfc2f19f6bf5ca1fac scipy-1.3.3.zip SHA256 ~~~~~~ a70308bb065562afb936c963780deab359966d71ab4f230368b154dde3136ea4 scipy-1.3.3-cp35-cp35m-macosx_10_6_intel.whl 7be424ee09bed7ced36c9457f99c826ce199fd0c0f5b272cf3d098ff7b29e3ae scipy-1.3.3-cp35-cp35m-manylinux1_i686.whl f5d47351aeb1cb6bda14a8908e56648926a6b2d714f89717c71f7ada41282141 scipy-1.3.3-cp35-cp35m-manylinux1_x86_64.whl 4ba2ce1a58fe117e993cf316a149cf9926c7c5000c0cdc4bc7c56ae8325612f6 scipy-1.3.3-cp35-cp35m-win32.whl c008f1b58f99f1d1cc546957b3effe448365e0a217df1f1894e358906e91edad scipy-1.3.3-cp35-cp35m-win_amd64.whl bb0899d3f8b9fe8ef95b79210cf0deb6709542889fadaa438eeb3a28001e09e7 scipy-1.3.3-cp36-cp36m-macosx_10_6_intel.whl 18ad034be955df046b5a27924cdb3db0e8e1d76aaa22c635403fe7aee17f1482 scipy-1.3.3-cp36-cp36m-manylinux1_i686.whl 2f690ba68ed7caa7c30b6dc48c1deed22c78f3840fa4736083ef4f2bd8baa19e scipy-1.3.3-cp36-cp36m-manylinux1_x86_64.whl b7b8cf45f9a48f23084f19deb9384a1cccb5e92fbc879b12f97dc4d56fb2eb92 scipy-1.3.3-cp36-cp36m-win32.whl 0b8c9dc042b9a47912b18b036b4844029384a5b8d89b64a4901ac3e06876e5f6 scipy-1.3.3-cp36-cp36m-win_amd64.whl 225d0b5e140bb66df23d438c7b535303ce8e533f94454f4e5bde5f8d109103ea scipy-1.3.3-cp37-cp37m-macosx_10_6_intel.whl 884e619821f47eccd42979488d10fa1e15dbe9f3b7660b1c8c928d203bd3c1a3 scipy-1.3.3-cp37-cp37m-manylinux1_i686.whl 583f2ccd6a112656c9feb2345761d2b19e9213a094cfced4e7d2c1cae4173272 scipy-1.3.3-cp37-cp37m-manylinux1_x86_64.whl dfcb0f0a2d8e958611e0b56536285bb435f03746b6feac0e29f045f7c6caf164 scipy-1.3.3-cp37-cp37m-win32.whl b01ea5e4cf95a93dc335089f8fbe97852f56fdb74afff238cbdf09793103b6b7 scipy-1.3.3-cp37-cp37m-win_amd64.whl cfee99d085d562a7e3c4afe51ac1fe9b434363489e565a130459307f30077973 scipy-1.3.3-cp38-cp38-macosx_10_9_x86_64.whl a42b0d02150ef4747e225c31c976a304de5dc8202ec35a27111b7bb8176e5f13 scipy-1.3.3-cp38-cp38-manylinux1_i686.whl 869465c7ff89fc0a1e2ea1642b0c65f1b3c05030f3a4c0d53d6a57b2dba7c242 scipy-1.3.3-cp38-cp38-manylinux1_x86_64.whl 4b8746f4a755bdb2eeb39d6e253a60481e165cfd74fdfb54d27394bd2c9ec8ac scipy-1.3.3-cp38-cp38-win32.whl 546f0dc020b155b8711159d53c87b36591d31f3327c47974a4fb6b50d91589c2 scipy-1.3.3-cp38-cp38-win_amd64.whl 64bf4e8ae0db2d42b58477817f648d81e77f0b381d0ea4427385bba3f959380a scipy-1.3.3.tar.gz 6de202d30b9e9e0704972f2b9272b1ff1090e2b089ddbdccfcf6271ce5ffb2d9 scipy-1.3.3.tar.xz 80ffa587aa910f4b2304cd23d5666dd755968b40036a358114a0b15228a56acc scipy-1.3.3.zip -----BEGIN PGP SIGNATURE----- iQGzBAEBCAAdFiEEuinQzfUTSK0iykiguEZ+VI8xggYFAl3ZoBMACgkQuEZ+VI8x ggbQXAwAwFxwfRudolGeEY15TGRBNSQdKtnL6tE8FQh+1yDAX9rKo+k5ZK34ouWV KDZMcC17SGXA/3hzuqw5Lz3UmcB0xl+st7ltZVUruDK0otU8LqEJLB87fvJgSB4h 7wF+/zvc5TYdVt/3Svd53jYIn95FKKRjuWV/FSO+qNx119DDYx6O4vL1uf4WZutW xEy1nGDn26j0Cc8fGBJE+eOCQFvySwRapqCP/gaRU/TkwYSXdIRWCFtU5WJA24zi 1kU6sk/jKsep07aEE3vc6xsjWCo+D8hca2XLqImnT7hN/djxzcSqk6xJMWyQhr+n kEl6F5SDxombrlLnAM+X6PxWTZZUeeP4R6rVcHIRJxf7Lehke5rKgrhsfX4eqehI 4mnAIu/sph1LDH/78Q/TlUIh7X6chPONOEYcGPtHYCg6mIgfd0DQeyBeYEsE9UkC No01gD11uAf/I9pYpdL918ADiVniRgG+IalbmAkPxvw0dBsfWGPVxWhEktKIloef JI8xhZ8G =e1l0 -----END PGP SIGNATURE----- -------------- next part -------------- An HTML attachment was scrubbed... URL: From me at diehlpk.de Mon Nov 25 22:25:28 2019 From: me at diehlpk.de (Patrick Diehl) Date: Mon, 25 Nov 2019 21:25:28 -0600 Subject: [Numpy-discussion] FLOSS for science podcast Message-ID: <1442d49f-62fc-d1e4-ce50-658af23c5b9f@diehlpk.de> Dear Sir or Madam, I started with a colleague the podcast FLOSS for Science [0] with the goal of showcasing free, libre and open source software uses in science. We want to highlight how FLOSS empowers researchers and enables them to produce high quality research. Through each of our episodes, we want to showcase a scientist using FLOSS to produce his/her research or the developers of software used for scientific research. Would some one of you be interested to be interviewed about the numpy/scipy package. Best, Patrick [0] https://flossforscience.com/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From sebastian at sipsolutions.net Wed Nov 27 09:37:07 2019 From: sebastian at sipsolutions.net (Sebastian Berg) Date: Wed, 27 Nov 2019 08:37:07 -0600 Subject: [Numpy-discussion] NumPy community meeting Today: Wed Nov 27 Message-ID: <80a4f26d3db3b3cb6a843074e45b1fa8f775b5ee.camel@sipsolutions.net> Hi all, There will be a NumPy Community meeting today (Wednesday Nov 27) at 11 am Pacific Time. Everyone is invited to join in and edit the work-in- progress meeting topics and notes: https://hackmd.io/76o-IxCjQX2mOXO_wwkcpg?both Note that from now on, we may try to focus on more technical discussion (such as PR and issue triage) every second week. Best wishes Sebastian -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: This is a digitally signed message part URL: From magdalena.proszewska at gmail.com Wed Nov 27 12:00:54 2019 From: magdalena.proszewska at gmail.com (mpro) Date: Wed, 27 Nov 2019 10:00:54 -0700 (MST) Subject: [Numpy-discussion] Reverse parameter in ordering functions Message-ID: <1574874054151-0.post@n7.nabble.com> Hi all, I created pull request #14989, which adds reverse parameter in np.sort function. As suggested in the comments, I want to ask for some feedback on adding parameter 'reverse' . Not only in sort, but in ordering functions in general. Magdalena -- Sent from: http://numpy-discussion.10968.n7.nabble.com/ From sebastian at sipsolutions.net Wed Nov 27 11:57:56 2019 From: sebastian at sipsolutions.net (Sebastian Berg) Date: Wed, 27 Nov 2019 10:57:56 -0600 Subject: [Numpy-discussion] Reverse parameter in ordering functions In-Reply-To: <1574874054151-0.post@n7.nabble.com> References: <1574874054151-0.post@n7.nabble.com> Message-ID: <34822fe03f6a637eb3155caec0a5198f0a3403c0.camel@sipsolutions.net> On Wed, 2019-11-27 at 10:00 -0700, mpro wrote: > Hi all, > > I created pull request #14989, which adds reverse parameter in > np.sort > function. > > As suggested in the comments, I want to ask for some feedback on > adding > parameter 'reverse' . Not only in sort, but in ordering functions in > general. > Since the standard python functions all have the `reverse` parameter, it seems like a good idea to me. I agree that when we add it, it probably would be good to aim for adding it for all sorting related functions at the same time. Best, Sebastian > Magdalena > > > > -- > Sent from: http://numpy-discussion.10968.n7.nabble.com/ > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion at python.org > https://mail.python.org/mailman/listinfo/numpy-discussion > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: This is a digitally signed message part URL: From ralf.gommers at gmail.com Thu Nov 28 17:00:08 2019 From: ralf.gommers at gmail.com (Ralf Gommers) Date: Thu, 28 Nov 2019 14:00:08 -0800 Subject: [Numpy-discussion] Updated numpy.random C-API In-Reply-To: References: Message-ID: On Fri, Nov 22, 2019 at 8:54 AM Matti Picus wrote: > Hi everyone, > > > We recently officially exposed and documented[0] the C-API side of > numpy.random. There are now working examples[3] of using numpy.random > from numba[1], cython[2], and cffi[5]. > > > Please try this out before the 1.18 release by installing the latest > HEAD version and making sure the interfaces work for your use case. > > There is an open issue[4] for exploring such use cases, but we need > feedback about where documentation is missing, where functionality falls > short, and help with sample code demonstrating any of the use cases not > yet explicitly tested. > Thanks Matti! I added a bunch of comments in https://github.com/numpy/numpy/issues/14778#issuecomment-559609624 Cheers, Ralf > > Matti > > > [0] https://numpy.org/devdocs/reference/random/extending.html > > [1] https://numpy.org/devdocs/reference/random/extending.html#numba > > [2] https://numpy.org/devdocs/reference/random/extending.html#cython > > [3] https://numpy.org/devdocs/reference/random/extending.html#examples > > [4] https://github.com/numpy/numpy/issues/14778 > > [5] https://github.com/numpy/numpy/pull/14954 > > > > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion at python.org > https://mail.python.org/mailman/listinfo/numpy-discussion > -------------- next part -------------- An HTML attachment was scrubbed... URL: