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

Previous topic

numpy.ma.MaskedArray.compress

Next topic

numpy.ma.MaskedArray.fill

This Page