diff options
-rw-r--r-- | doc/release/upcoming_changes/23403.expired.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/release/upcoming_changes/23403.expired.rst b/doc/release/upcoming_changes/23403.expired.rst index 1e6d84627..b099eb4e9 100644 --- a/doc/release/upcoming_changes/23403.expired.rst +++ b/doc/release/upcoming_changes/23403.expired.rst @@ -1,2 +1,4 @@ -* Remove deprecated ``casting=None`` from ``np.clip``. The behaviour was - deprecated in NumPy 1.17. +* ``np.clip`` now defaults to same-kind casting. Falling back to + unsafe casting was deprecated in NumPy 1.17. +* ``np.clip`` will now propagate ``np.nan`` values passed as ``min`` or ``max``. + Previously, a scalar NaN was usually ignored. This was deprecated in NumPy 1.17. |