結果 : how to convert string to matrix in python