Numpy中提供了concatenate,append, ... append, 默认先ravel再拼接成一维数组,也可指定axis ... a = np.array([1,2,3]); >>> a.ndim # 一维数组 ...
確定! 回上一頁