a = numpy.random.rand(100, 200)
indices = numpy.random.randint(100, size=20)
mask = numpy.ones(a.shape, dtype=bool)
mask[(indices), :] = False
b = a[mask]
How to exclude rows/columns from numpy.ndarray data