summaryrefslogtreecommitdiff
path: root/doc/release
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2017-12-09 13:58:42 -0800
committerEric Wieser <wieser.eric@gmail.com>2017-12-10 16:58:42 -0800
commit34c9950ccdb8a2f64916903b09c2c39233be0adf (patch)
tree793c0714f9ace7b4722804263d456d02f39a0843 /doc/release
parentbbe92a4820eb3eba7235a9ffbd44605032981f42 (diff)
downloadpython-numpy-34c9950ccdb8a2f64916903b09c2c39233be0adf.tar.gz
python-numpy-34c9950ccdb8a2f64916903b09c2c39233be0adf.tar.bz2
python-numpy-34c9950ccdb8a2f64916903b09c2c39233be0adf.zip
MAINT: Move histogram and histogramdd into their own module
800 self-contained lines are easily enough to go in their own file, as are the 500 lines of tests. For compatibility, the names are still available through `np.lib.function_base.histogram` and `from np.lib.function_base import *` For simplicity of imports, all of the unqualified `np.` names are now qualified
Diffstat (limited to 'doc/release')
-rw-r--r--doc/release/1.15.0-notes.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/release/1.15.0-notes.rst b/doc/release/1.15.0-notes.rst
index 15d34e9fc..ef2d65d55 100644
--- a/doc/release/1.15.0-notes.rst
+++ b/doc/release/1.15.0-notes.rst
@@ -34,6 +34,15 @@ New Features
Improvements
============
+``histogram`` and ``histogramdd` functions have moved to ``np.lib.histograms``
+------------------------------------------------------------------------------
+These were originally found in ``np.lib.function_base``. They are still
+available under their un-scoped ``np.histogram(dd)`` names, and
+to maintain compatibility, aliased at ``np.lib.function_base.histogram(dd)``.
+
+Code that does ``from np.lib.function_base import *`` will need to be updated
+with the new location, and should consider not using ``import *`` in future.
+
Changes
=======