using an numpy array as indices of the 2nd dim of another array? [duplicate] using an numpy array as indices of the 2nd dim of another array? [duplicate] numpy numpy