diff options
Diffstat (limited to 'doc/release/upcoming_changes')
-rw-r--r-- | doc/release/upcoming_changes/14051.expired.rst | 2 | ||||
-rw-r--r-- | doc/release/upcoming_changes/14051.new_feature.rst | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/doc/release/upcoming_changes/14051.expired.rst b/doc/release/upcoming_changes/14051.expired.rst new file mode 100644 index 000000000..8e00ae575 --- /dev/null +++ b/doc/release/upcoming_changes/14051.expired.rst @@ -0,0 +1,2 @@ +* The deprecation of ``expand_dims`` out-of-range axes in 1.13.0 has + expired. diff --git a/doc/release/upcoming_changes/14051.new_feature.rst b/doc/release/upcoming_changes/14051.new_feature.rst new file mode 100644 index 000000000..617e06482 --- /dev/null +++ b/doc/release/upcoming_changes/14051.new_feature.rst @@ -0,0 +1,4 @@ +A tuple of axes can now be input to ``expand_dims`` +--------------------------------------------------- +The `numpy.expand_dims` ``axis`` keyword can now accept a tuple of +axes. Previously, ``axis`` was required to be an integer. |