summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2015-01-23 17:37:32 -0700
committerCharles Harris <charlesr.harris@gmail.com>2015-01-24 08:46:44 -0700
commit0062a17ba759deb499cfcd55cac6f7d285462ca4 (patch)
tree17d9ee609be51639499b436405e01a0e3ad2d623 /doc
parent7a9e3d9535ac4cdd7b815d23416f36c3f979fc99 (diff)
downloadnumpy-0062a17ba759deb499cfcd55cac6f7d285462ca4.tar.gz
DOC: Document new genfromtxt max_rows argument in release notes.
Diffstat (limited to 'doc')
-rw-r--r--doc/release/1.10.0-notes.rst9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/release/1.10.0-notes.rst b/doc/release/1.10.0-notes.rst
index 76538760e..a04a46d17 100644
--- a/doc/release/1.10.0-notes.rst
+++ b/doc/release/1.10.0-notes.rst
@@ -78,6 +78,13 @@ extensions is now performed in *n* parallel processes.
The parallelization is limited to files within one extension so projects using
Cython will not profit because it builds extensions from single files.
+*genfromtxt* has an new ``max_rows`` argument
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+A ``max_rows`` argument has been added to *genfromtxt* to limit the
+number of rows read in a single call. Using this functionality, it is
+possible to read in multiple arrays stored in a single file by making
+repeated calls to the function.
+
Improvements
============
@@ -105,7 +112,7 @@ 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.