[Numpy-discussion] BOF notes: Fernando's proposal: NumPy ndarray with named axes
Thu Jul 8 17:09:08 CDT 2010
> Then how is this not different than a record array?
How is this the *same* as a record array?
On Thu, Jul 8, 2010 at 2:03 PM, Rob Speer <firstname.lastname@example.org> wrote:
>> 3. That the best solution to allow integer ticks while retaining
>> 'normal' indexing semantics for integers would be to have
>> arr[int] -> normal indexing
>> arr.somethin[int] -> tick-based indexing, where an int can mean anything.
> All right, it's clear lots of people like it better this way, so I
> made arr.named use square brackets instead of parentheses.
>>>> arr.country.named('Spain').year.named(slice(1994, 2010))
> -- Rob
> NumPy-Discussion mailing list
More information about the NumPy-Discussion