SciPy 2.0.0 Release Notes#
Note
SciPy 2.0.0 is not released yet!
SciPy 2.0.0 is the culmination of X 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.18.x branch, and on adding new features on the main branch.
This release requires Python 3.12-3.15 and NumPy 2.0.0 or greater.
Highlights of this release#
New features#
scipy.cluster improvements#
scipy.interpolate improvements#
scipy.linalg improvements#
scipy.ndimage improvements#
scipy.optimize improvements#
scipy.signal improvements#
scipy.sparse improvements#
scipy.spatial improvements#
scipy.special improvements#
Added
scipy.special.mathieu_ceandscipy.special.mathieu_se, which accept the angular argument in radians and return the function value and its derivative with respect to that same argument. Both functions are also available inscipy.special.cython_special.
scipy.stats improvements#
Deprecated features#
scipy.special.mathieu_cemandscipy.special.mathieu_semare deprecated and will be removed in SciPy 2.2.0. Usescipy.special.mathieu_ceandscipy.special.mathieu_seinstead, converting the input from degrees to radians. For example, replacemathieu_cem(m, q, x)withmathieu_ce(m, q, np.deg2rad(x)). Both APIs return derivatives per radian, so the returned derivative requires no conversion. The corresponding legacy functions inscipy.special.cython_specialare also deprecated.