SyntaxFix
Write A Post
Hire A Developer
Questions
This will convert the matrix into array
A = np.ravel(M).T