import numpy as npnew_array = np.empty(shape=[0, 3]) # 3列n行for i in range(10): x = i+1 y = i+2 z = i+3 new_array = np.append(new_array, [[x, y, z]], axis=0)print(new_array)