summaryrefslogtreecommitdiff
path: root/doc/neps/structured_array_extensions.txt
blob: 716b98a765bb1d4c37f8cb617a871660cc988b9e (plain)
1
2
3
4
5
6
7
8

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.