### Navigation

- index
- modules |
- next |
- previous |
- NumPy v1.3 Manual (DRAFT) »
- NumPy Reference »
- Array objects »
- Masked arrays »
- Constants of the `numpy.ma` module »

# numpy.ma.MaskedArray.diagonal

`MaskedArray.``diagonal`(offset=0, axis1=0, axis2=1)

  Return specified diagonals.

  Refer to `numpy.diagonal` for full documentation.

  See also

  `numpy.diagonal`
    equivalent function

### Navigation

- index
- modules |
- next |
- previous |
- NumPy v1.3 Manual (DRAFT) »
- NumPy Reference »
- Array objects »
- Masked arrays »
- Constants of the `numpy.ma` module »