numpy.ndarray.squeeze ===================== .. currentmodule:: numpy .. automethod:: ndarray.squeeze