summaryrefslogtreecommitdiff
path: root/doc/release
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2019-01-21 08:39:49 +0200
committerGitHub <noreply@github.com>2019-01-21 08:39:49 +0200
commit3cbc11ac56054ad3ac7461e57433aefe37f2e3e4 (patch)
tree59d0b11caf42d5a55538ba69a00c9171cb1064b1 /doc/release
parent74f3d07ab0bcfd63f42f62b26eeb6ce68efd4f21 (diff)
parent4b81a240a4ffffea8a502afbdea43d8bf2991228 (diff)
downloadnumpy-3cbc11ac56054ad3ac7461e57433aefe37f2e3e4.tar.gz
Merge pull request #12683 from tylerjereddy/timedelta64_divmod
ENH: add mm->qm divmod
Diffstat (limited to 'doc/release')
-rw-r--r--doc/release/1.17.0-notes.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/release/1.17.0-notes.rst b/doc/release/1.17.0-notes.rst
index 73de0b148..4bdb812d7 100644
--- a/doc/release/1.17.0-notes.rst
+++ b/doc/release/1.17.0-notes.rst
@@ -50,6 +50,11 @@ identity, it is necessary to also pass in an initial value (e.g.,
These functions now accept a ``hermitian`` argument, matching the one added
to ``np.linalg.matrix_rank`` in 1.14.0.
+divmod operation is now supported for two ``timedelta64`` operands
+------------------------------------------------------------------
+The divmod operator now handles two ``np.timedelta64`` operands, with
+type signature mm->qm.
+
Improvements
============
@@ -112,3 +117,8 @@ Changes
`numpy.median`, `numpy.percentile`, and `numpy.quantile` used to emit a
``RuntimeWarning`` when encountering an `numpy.nan`. Since they return the
``nan`` value, the warning is redundant and has been removed.
+
+``timedelta64 % 0`` behavior adjusted to return ``NaT``
+-------------------------------------------------------
+The modulus operation with two ``np.timedelta64`` operands now returns
+``NaT`` in the case of division by zero, rather than returning zero