numpy.matrix.tolist
numpy.matrix.trace
method
matrix.
tostring
A compatibility alias for tobytes, with exactly the same behavior.
tobytes
Despite its name, it returns bytes not strs.
str
Deprecated since version 1.19.0.