Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2604741

Browse files
committed
DOC: Update 1.10.0 release notes for future changes to np.lib.split.
Note that empty array resulting from a split will preserve dimensions starting in Numpy 1.11.
1 parent f0c9703 commit 2604741

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

doc/release/1.10.0-notes.rst

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ Highlights
2020
* Addition of `nanprod` to the set of nanfunctions.
2121
* Support for the '@' operator in Python 3.5.
2222

23-
Dropped Support:
23+
Dropped Support
24+
===============
2425

2526
* The _dotblas module has been removed. CBLAS Support is now in
2627
Multiarray.
@@ -35,15 +36,22 @@ Dropped Support:
3536
* Keywords ``skiprows`` and ``missing`` removed from np.genfromtxt.
3637
* Keyword ``old_behavior`` removed from np.correlate.
3738

38-
Future Changes:
39+
Future Changes
40+
==============
3941

4042
* In array comparisons like ``arr1 == arr2``, many corner cases
4143
involving strings or structured dtypes that used to return scalars
4244
now issue ``FutureWarning`` or ``DeprecationWarning``, and in the
4345
future will be change to either perform elementwise comparisons or
4446
raise an error.
45-
* The SafeEval class will be removed.
46-
* The alterdot and restoredot functions will be removed.
47+
* In ``np.lib.split`` an empty array in the result always had dimension
48+
``(0,)`` no matter the dimensions of the array being split. In Numpy 1.11
49+
that behavior will be changed so that the dimensions will be preserved. A
50+
``FutureWarning`` for this change has been in place since Numpy 1.9 but,
51+
due to a bug, sometimes no warning was raised and the dimensions were
52+
already preserved.
53+
* The SafeEval class will be removed in Numpy 1.11.
54+
* The alterdot and restoredot functions will be removed in Numpy 1.11.
4755

4856
See below for more details on these changes.
4957

0 commit comments

Comments
 (0)