numpy.generic.squeeze

method

generic.squeeze()

Scalar method identical to the corresponding array attribute.

Please see ndarray.squeeze.