summaryrefslogtreecommitdiff
path: root/doc/source/user
diff options
context:
space:
mode:
authorRaunak Shah <32986603+raunaks13@users.noreply.github.com>2018-04-17 05:12:01 +0000
committerEric Wieser <wieser.eric@gmail.com>2018-04-16 22:12:01 -0700
commit8323be1bc44c2811fc36f5b99c1a30ebcee8edbd (patch)
treece7a026aa95f62b2fc557d6573367b8022d9bb42 /doc/source/user
parent3b79c4405690227087022a943fd78217b700a3f5 (diff)
downloadnumpy-8323be1bc44c2811fc36f5b99c1a30ebcee8edbd.tar.gz
BUG: fix crash in numpy.genfromtxt(..., names=True, comments=None) (#10822)
Fixes gh-10780
Diffstat (limited to 'doc/source/user')
-rw-r--r--doc/source/user/basics.io.genfromtxt.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/source/user/basics.io.genfromtxt.rst b/doc/source/user/basics.io.genfromtxt.rst
index 2bdd5a0d0..17774eeeb 100644
--- a/doc/source/user/basics.io.genfromtxt.rst
+++ b/doc/source/user/basics.io.genfromtxt.rst
@@ -133,13 +133,16 @@ marker(s) is simply ignored::
[ 7. 8.]
[ 9. 0.]]
+.. versionadded:: 1.7.0
+
+ When ``comments`` is set to ``None``, no lines are treated as comments.
+
.. note::
There is one notable exception to this behavior: if the optional argument
``names=True``, the first commented line will be examined for names.
-
Skipping lines and choosing columns
===================================