SciPy

numpy.ma.masked_array.take

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