core-matrix

intended for specific discussion around core.matrix (usage and development) For general data work check out #data-science
bkamphaus 2016-03-15T22:50:24.000012Z

Maybe an obvious question, but first time I’ve tried this in core.matrix and I’m finding it a bit tough to locate what I’m looking for. Is there a way to do the equivalent of [index arrays](http://docs.scipy.org/doc/numpy-1.10.1/user/basics.indexing.html#index-arrays) in numpy?

>>> mat
array([[1, 2, 3],
       [4, 5, 6],
       [7, 8, 9]])

>>> mat[[2,1,0]]
array([[7, 8, 9],
       [4, 5, 6],
       [1, 2, 3]])

>>> mat[[1,1,1,1,1]]
array([[4, 5, 6],
       [4, 5, 6],
       [4, 5, 6],
       [4, 5, 6],
       [4, 5, 6]])