From ae2d0bb7c2d227e893195cc3e52477567781e2db Mon Sep 17 00:00:00 2001 From: jason king Date: Sat, 5 Sep 2015 23:01:24 +1000 Subject: DOC: Update docs for numpy.genfromtxt. Note that a list of strings can be passed as the first parameter. The strings are treated as the lines in a file. Closes #6247 --- doc/source/user/basics.io.genfromtxt.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/source') diff --git a/doc/source/user/basics.io.genfromtxt.rst b/doc/source/user/basics.io.genfromtxt.rst index 11205e555..75ba8a11d 100644 --- a/doc/source/user/basics.io.genfromtxt.rst +++ b/doc/source/user/basics.io.genfromtxt.rst @@ -29,9 +29,9 @@ Defining the input The only mandatory argument of :func:`~numpy.genfromtxt` is the source of the data. It can be a string corresponding to the name of a local or remote file, or a file-like object with a :meth:`read` method (such as an -actual file or a :class:`StringIO.StringIO` object). If the argument is -the URL of a remote file, this latter is automatically downloaded in the -current directory. +actual file or a :class:`StringIO.StringIO` object), a list of strings, or +a generator. If the argument is the URL of a remote file, then the file +is automatically downloaded to the current directory. The input file can be a text file or an archive. Currently, the function recognizes :class:`gzip` and :class:`bz2` (`bzip2`) archives. The type of -- cgit v1.2.1