diff options
author | Varun Nayyar <nayyarv@users.noreply.github.com> | 2018-04-10 12:55:59 +0800 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2018-04-09 21:55:59 -0700 |
commit | 918a167c30a7e19f0c0061f5e09e7637b1e04591 (patch) | |
tree | 0b1c76b31578cb10b9777e750cdbb0767823544f /doc/release/1.15.0-notes.rst | |
parent | ab4e4c93beb671b634bac34d21f30452ef194bf6 (diff) | |
download | numpy-918a167c30a7e19f0c0061f5e09e7637b1e04591.tar.gz |
ENH: Improve histogram bins="auto" for data with little variance (#10739)
Now falls back on sturges estimator when the IQR is zero
Diffstat (limited to 'doc/release/1.15.0-notes.rst')
-rw-r--r-- | doc/release/1.15.0-notes.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/release/1.15.0-notes.rst b/doc/release/1.15.0-notes.rst index fc2af11a2..34c2a6a61 100644 --- a/doc/release/1.15.0-notes.rst +++ b/doc/release/1.15.0-notes.rst @@ -146,6 +146,11 @@ as usual with `errstate`. Dates, times, and timedeltas can now be histogrammed. The bin edges must be passed explicitly, and are not yet computed automatically. +``histogram`` "auto" estimator handles limited variance better +------------------------------------------------------------------------ +No longer does an IQR of 0 result in `n_bins=1`, rather the number of bins +chosen is related to the data size in this situation + ``histogramdd`` allows explicit ranges to be given in a subset of axes ---------------------------------------------------------------------- The ``range`` argument of `histogramdd` can now contain ``None`` values to |