NumPy

numpy.ma.masked_array.take

method

masked_array.take(self, indices, axis=None, out=None, mode='raise')[source]