From 29001ed1fc8f021c5150b29d161cc2145ab9668a Mon Sep 17 00:00:00 2001 From: Travis Oliphant Date: Thu, 10 Jun 2010 17:45:09 +0000 Subject: Add pre-nep for a copule of structured_array_extensions. --- doc/neps/structured_array_extensions.txt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 doc/neps/structured_array_extensions.txt (limited to 'doc/neps') 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. + -- cgit v1.2.1