Мне сложно создавать 2D-массив размером numpy
на лету.Создайте динамический 2D-массив numpy на лету
Так что в принципе у меня есть цикл для чего-то вроде этого.
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
Любые подсказки?