[Numpy-discussion] FYI: New "select-multiple-fields" behavior

Stéfan van der Walt stefan at sun.ac.za
Thu Feb 12 00:14:38 EST 2009


Hi Travis

2009/2/12 Travis E. Oliphant <oliphant at enthought.com>:
> ary['field1', 'field3']  raises an error
> ary[['field1', 'field3']] is the correct spelling and returns a copy of
> the data in those fields in a new array.

Is there absolutely no way of returning the result as a view?

Regards
Stéfan



More information about the NumPy-Discussion mailing list