diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2018-05-25 23:07:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-25 23:07:21 -0700 |
commit | a10b4270d4b3f538254698874560d645c0525dc5 (patch) | |
tree | e8ff62b91d0477b56042b879d489e59ba807fed7 /numpy/doc/structured_arrays.py | |
parent | 0addc016ba7000b27509663f4f489c6eb1838056 (diff) | |
parent | c1fc882277bcec42e11f67c6eced43d68cec4d7a (diff) | |
download | numpy-a10b4270d4b3f538254698874560d645c0525dc5.tar.gz |
Merge branch 'master' into force-tuple
Diffstat (limited to 'numpy/doc/structured_arrays.py')
-rw-r--r-- | numpy/doc/structured_arrays.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/doc/structured_arrays.py b/numpy/doc/structured_arrays.py index af02e2173..ba667da59 100644 --- a/numpy/doc/structured_arrays.py +++ b/numpy/doc/structured_arrays.py @@ -284,7 +284,7 @@ the desired underlying dtype, and fields and flags will be copied from ``dtype``. This dtype is similar to a 'union' in C. Indexing and Assignment to Structured arrays -============================================= +============================================ Assigning data to a Structured Array ------------------------------------ @@ -293,7 +293,7 @@ There are a number of ways to assign values to a structured array: Using python tuples, using scalar values, or using other structured arrays. Assignment from Python Native Types (Tuples) -``````````````````````````````````````````` +```````````````````````````````````````````` The simplest way to assign values to a structured array is using python tuples. Each assigned value should be a tuple of length equal to the number of fields |