numpy.matrix.take

method

matrix.take(indices, axis=None, out=None, mode='raise')

Return an array formed from the elements of a at the given indices.

Refer to numpy.take for full documentation.

参见

numpy.take
equivalent function