Numpy Get Diagonal Matrix от Matrix

np.diag(np.diag(x))
Clumsy Capuchin