{ } Raw JSON

bundles / astropy latest / astropy / utils / shapes / NDArrayShapeMethods / squeeze

function

astropy.utils.shapes:NDArrayShapeMethods.squeeze

source: /astropy/utils/shapes.py :147

Signature

def   squeeze ( self * args ** kwargs )

Summary

Return an instance with single-dimensional shape entries removed.

Extended Summary

Parameters are as for ~numpy.ndarray.squeeze. All internal data are views of the data of the original.

Aliases

  • astropy.utils.NDArrayShapeMethods.squeeze