以下兩段程式碼是list轉成array和matrix的範例,以及一些要注意的地方 list與NumPy的array import numpy as np a = [1,2,3] b = [[1,2,3],[4,5,6]] c ...
確定! 回上一頁