import numpy as np a = np.array([[1,2,3], [4,5,6]]) np.append(a, [7,8,9]) # 不能通过a.append(),与Python的append方法不同;变成一维数组
確定! 回上一頁