SciPy

This is documentation for an old release of NumPy (version 1.8.0). Read this page in the documentation of the latest stable release (version > 1.17).

numpy.recarray.diagonal

recarray.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.recarray.cumsum

Next topic

numpy.recarray.dot