Bernhard Voigt wrote:
> Dear all!
>
> in a 2-dim array I would like to select rows specified by a list of
> indexes and from these rows I'd like to select columns specified by
> another list of indexes. That's what I found as a solution:
>
> In [90]: a = arange(15).reshape(5,3)
> In [91]: a
> Out
Dear all!
in a 2-dim array I would like to select rows specified by a list of indexes
and from these rows I'd like to select columns specified by another list of
indexes. That's what I found as a solution:
In [90]: a = arange(15).reshape(5,3)
In [91]: a
Out[91]:
array([[ 0, 1, 2],
[ 3,