From c0a61b2e16b6909df5d406087ed0fd923d9edfbd Mon Sep 17 00:00:00 2001 From: hklemm Date: Sun, 28 Jul 2013 23:07:23 +0200 Subject: Update structured_arrays.py The behaviour documented did not match the actual behaviour of numpy. Explanation changed and the code example updated. --- numpy/doc/structured_arrays.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'numpy/doc/structured_arrays.py') diff --git a/numpy/doc/structured_arrays.py b/numpy/doc/structured_arrays.py index be3d5cc7d..304184d0d 100644 --- a/numpy/doc/structured_arrays.py +++ b/numpy/doc/structured_arrays.py @@ -191,12 +191,11 @@ Notice that `x` is created with a list of tuples. :: (1.0, [[2.0, 6.0], [2.0, 6.0]])], dtype=[('x', '>> x[['y','x']] - array([(1.5, 2.5), (3.0, 4.0), (1.0, 3.0)], - dtype=[('x', '