summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJosh Warner (Mac) <warner.joshua@mayo.edu>2014-12-09 10:37:24 -0600
committerJosh Warner (Mac) <warner.joshua@mayo.edu>2015-01-06 19:49:15 -0700
commit29464a96941b61b91d703dc20c3f426466df0c2a (patch)
tree70b1c42ce16f48474eb89b8348c76d71abcf0c46 /doc
parent3ef77eea0d9c2cd76bc9b89b04a32f1322f842d5 (diff)
downloadnumpy-29464a96941b61b91d703dc20c3f426466df0c2a.tar.gz
ENH: Improve arg handling & enhance test suite for np.pad
Diffstat (limited to 'doc')
-rw-r--r--doc/release/1.10.0-notes.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/release/1.10.0-notes.rst b/doc/release/1.10.0-notes.rst
index 7b473f3b9..b3c4be7c5 100644
--- a/doc/release/1.10.0-notes.rst
+++ b/doc/release/1.10.0-notes.rst
@@ -73,6 +73,12 @@ given period and one end point is added to each extremity of *xp* in order to
close the previous and the next period cycles, resulting in the correct
interpolation behavior.
+*np.pad* supports more input types for ``pad_width`` and ``constant_values``
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+``constant_values`` parameters now accepts NumPy arrays and float values.
+NumPy arrays are supported as input for ``pad_width``, and an exception is
+raised if its values are not of integral type.
+
Changes
=======