### Navigation

- index
- modules |
- modules |
- next |
- previous |
- NumPy v1.5 Manual (DRAFT) »
- NumPy Reference »
- Array objects »
- The N-dimensional array (`ndarray`) »

# numpy.ndarray.squeeze

`ndarray.``squeeze`()

  Remove single-dimensional entries from the shape of a.

  Refer to `numpy.squeeze` for full documentation.

  See also

  `numpy.squeeze`
    equivalent function

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- NumPy v1.5 Manual (DRAFT) »
- NumPy Reference »
- Array objects »
- The N-dimensional array (`ndarray`) »