diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2015-01-22 18:42:10 -0500 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2015-01-22 18:42:10 -0500 |
commit | 5b714c7ecd46ed8e730afc8f37f8b8d1faf36497 (patch) | |
tree | af8e78dec7a66c244bac38b9f18de1931fed3e3a /numpy/lib/npyio.py | |
parent | 723a1ee58493061b4f1701bb173f648712e3addc (diff) | |
parent | 1bd0b4e8f176cd80e81b5f50832db5f8ba1ee1e9 (diff) | |
download | numpy-5b714c7ecd46ed8e730afc8f37f8b8d1faf36497.tar.gz |
Merge pull request #5482 from ahaldane/recordarray_doc
DOC: improve record/structured array nomenclature & guide
Diffstat (limited to 'numpy/lib/npyio.py')
-rw-r--r-- | numpy/lib/npyio.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py index 5f274f27c..bedd0e941 100644 --- a/numpy/lib/npyio.py +++ b/numpy/lib/npyio.py @@ -656,7 +656,7 @@ def loadtxt(fname, dtype=float, comments='#', delimiter=None, generators should return byte strings for Python 3k. dtype : data-type, optional Data-type of the resulting array; default: float. If this is a - record data-type, the resulting array will be 1-dimensional, and + structured data-type, the resulting array will be 1-dimensional, and each row will be interpreted as an element of the array. In this case, the number of columns used must match the number of fields in the data-type. @@ -680,7 +680,7 @@ def loadtxt(fname, dtype=float, comments='#', delimiter=None, The default, None, results in all columns being read. unpack : bool, optional If True, the returned array is transposed, so that arguments may be - unpacked using ``x, y, z = loadtxt(...)``. When used with a record + unpacked using ``x, y, z = loadtxt(...)``. When used with a structured data-type, arrays are returned for each field. Default is False. ndmin : int, optional The returned array will have at least `ndmin` dimensions. |