summaryrefslogtreecommitdiff
path: root/doc/neps/structured_array_extensions.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/neps/structured_array_extensions.txt')
-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.
+