{ } Raw JSON

bundles / astropy 7.0.1 / 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 squeeze. All internal data are views of the data of the original.

Aliases

  • astropy.utils.NDArrayShapeMethods.squeeze