summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwarren <warren.weckesser@gmail.com>2022-05-10 11:23:14 -0400
committerwarren <warren.weckesser@gmail.com>2022-05-10 11:23:14 -0400
commitb89939b6458934da41e07770e7c7014b5233d3f1 (patch)
tree447ca6e57cf6a8253486c52f27256176fbd7ebb1
parentc27f7817acb63ad05200c9c240a00cc5a7280394 (diff)
downloadnumpy-b89939b6458934da41e07770e7c7014b5233d3f1.tar.gz
DOC: Add release note for the new keepdims parameter.
-rw-r--r--doc/release/upcoming_changes/21485.new_feature.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/release/upcoming_changes/21485.new_feature.rst b/doc/release/upcoming_changes/21485.new_feature.rst
new file mode 100644
index 000000000..99fd5e92d
--- /dev/null
+++ b/doc/release/upcoming_changes/21485.new_feature.rst
@@ -0,0 +1,5 @@
+``keepdims`` parameter for ``average``
+--------------------------------------
+The parameter ``keepdims`` was added to the functions `numpy.average`
+and `numpy.ma.average`. The parameter has the same meaning as it
+does in reduction functions such as `numpy.sum` or `numpy.mean`.