Per esempio:arr = np.array([]) arr = np.append(arr, np.ar. ... dtype=type1) # append row to the main array arr = numpy.row_stack((arr, row)) # print values ...
確定! 回上一頁