Numpy Get Diagonal Matrix de Matrix

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