'Return an instance with the specified diagonals.
Parameters are as for :meth:`~numpy.ndarray.diagonal`.  All internal
data are views of the data of the original.'

def diagonal(self, *args, **kwargs):

    return self._apply(u'diagonal', *args, **kwargs)
