オンザフライでnumpy
2D配列を作成するのに苦労しています。オンザフライでダイナミックな2次元配列を作成する
基本的に私はこのような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
手がかりはありますか?ループしながら