summaryrefslogtreecommitdiff
path: root/doc/source/user
diff options
context:
space:
mode:
authorRoss Barnowski <rossbar@berkeley.edu>2020-09-29 20:34:42 -0700
committerRoss Barnowski <rossbar@berkeley.edu>2020-09-29 20:34:42 -0700
commit3599af53d7fbf3976020b8443424ed5ffb955693 (patch)
treea4b5d8a8760be896f1f1da1eb615ed7a76b8ba06 /doc/source/user
parentab81a55dba9294aac6926d2921b147c791488ae3 (diff)
downloadnumpy-3599af53d7fbf3976020b8443424ed5ffb955693.tar.gz
Incorporate feedback from review.
Diffstat (limited to 'doc/source/user')
-rw-r--r--doc/source/user/basics.rec.rst11
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/source/user/basics.rec.rst b/doc/source/user/basics.rec.rst
index 7380ef635..bb4ed89e9 100644
--- a/doc/source/user/basics.rec.rst
+++ b/doc/source/user/basics.rec.rst
@@ -575,11 +575,14 @@ Record Arrays
=============
As an optional convenience numpy provides an ndarray subclass,
-:class:`numpy.recarray`, and associated helper functions in the
-:mod:`numpy.lib.recfunctions` submodule, that allows
-access to fields of structured arrays by attribute instead of only by index.
-Record arrays also use a special datatype, :class:`numpy.record`, that allows
+:class:`numpy.recarray` that allows access to fields of structured arrays by
+attribute instead of only by index.
+Record arrays use a special datatype, :class:`numpy.record`, that allows
field access by attribute on the structured scalars obtained from the array.
+The :mod:`numpy.rec` module provides functions for creating recarrays from
+various objects.
+Additional helper functions for creating and manipulating structured arrays
+can be found in :mod:`numpy.lib.recfunctions`.
The simplest way to create a record array is with ``numpy.rec.array``::