diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2017-12-26 08:33:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-26 08:33:22 -0700 |
commit | a3bf5952bc96115b0383fb000e3e134357792b04 (patch) | |
tree | adb1b4f7234b3ce11fbcf9138a38afec296bdd5f /doc | |
parent | 03852477aeb9acdf7fd86ee698b2d65cc6d5e412 (diff) | |
parent | 1e08c83a1b84a3b847c101d478814c18adda56f2 (diff) | |
download | python-numpy-a3bf5952bc96115b0383fb000e3e134357792b04.tar.gz python-numpy-a3bf5952bc96115b0383fb000e3e134357792b04.tar.bz2 python-numpy-a3bf5952bc96115b0383fb000e3e134357792b04.zip |
Merge pull request #10278 from eric-wieser/exotic-histogram-dtype
ENH: Add support for datetimes to histograms
Diffstat (limited to 'doc')
-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 3b4313659..5dce7060d 100644 --- a/doc/release/1.15.0-notes.rst +++ b/doc/release/1.15.0-notes.rst @@ -74,6 +74,11 @@ Note that calling `histogram` on NaN values continues to raise the `RuntimeWarning`s typical of working with nan values, which can be silenced as usual with `errstate`. +``histogram`` works on datetime types, when explicit bin edges are given +------------------------------------------------------------------------ +Dates, times, and timedeltas can now be histogrammed. The bin edges must be +passed explicitly, and are not yet computed automatically. + ``np.r_`` works with 0d arrays, and ``np.ma.mr_` works with ``np.ma.masked`` ---------------------------------------------------------------------------- 0d arrays passed to the `r_` and `mr_` concatenation helpers are now treated as |