numpy.ndarray.compress ====================== .. currentmodule:: numpy .. automethod:: ndarray.compress