我很難在飛行中創建numpy
2D陣列。動態創建動態2D numpy陣列
所以基本上我有一個for循環這樣的事情。
for ele in huge_list_of_lists:
instance = np.array(ele) # creates a 1D numpy array of this list
# and now I want to append it to a numpy array
# so basically converting list of lists to array of arrays?
# i have checked the manual.. and np.append() methods
that doesnt work as for np.append() it needs two arguments to append it together
任何線索?