summaryrefslogtreecommitdiff
path: root/doc/neps/structured_array_extensions.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/neps/structured_array_extensions.rst')
-rw-r--r--doc/neps/structured_array_extensions.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/neps/structured_array_extensions.rst b/doc/neps/structured_array_extensions.rst
new file mode 100644
index 000000000..a4248362c
--- /dev/null
+++ b/doc/neps/structured_array_extensions.rst
@@ -0,0 +1,11 @@
+===========================
+Structured array extensions
+===========================
+
+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.