To convert a list of numbers to a matrix, as solution is to use the numpy function asarray(): illustration: import numpy as np A = np.asarray(l) print(A).
確定! 回上一頁