summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2010-06-10 17:45:09 +0000
committerTravis Oliphant <oliphant@enthought.com>2010-06-10 17:45:09 +0000
commit29001ed1fc8f021c5150b29d161cc2145ab9668a (patch)
treebf90e6ed81efbeac9eae89b037af382034a5e50c /doc
parentf6c74bd9035dfbdd292c75db238eb304ea790ada (diff)
downloadnumpy-29001ed1fc8f021c5150b29d161cc2145ab9668a.tar.gz
Add pre-nep for a copule of structured_array_extensions.
Diffstat (limited to 'doc')
-rw-r--r--doc/neps/structured_array_extensions.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/neps/structured_array_extensions.txt b/doc/neps/structured_array_extensions.txt
new file mode 100644
index 000000000..7020c772c
--- /dev/null
+++ b/doc/neps/structured_array_extensions.txt
@@ -0,0 +1,9 @@
+
+1. Create with-style context that makes "named-columns" available as names in the namespace.
+
+ with np.columns(array):
+ price = unit * quantityt
+
+
+2. Allow structured arrays to be sliced by their column (i.e. one additional indexing option for structured arrays) so that a[:4, 'foo':'bar'] would be allowed.
+